Rocky_Mountain_Vending/.pnpm-store/v10/files/fc/48557239ef193a39d9b570b50b143c22555b597ce92da85398cae599c727995780eb5fc0d986237107d8ce20681b3b492513de18af0aff09e1dc7139a3a829
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

63 lines
No EOL
1.9 KiB
Text

export type FetchResponse = {
content: string | null;
status: number | null;
};
/**
* @fileoverview Fetcher is a utility for making requests to any arbitrary resource,
* ignoring normal browser constraints such as CORS.
*/
/** @typedef {{content: string|null, status: number|null}} FetchResponse */
export class Fetcher {
/**
* @param {LH.Gatherer.ProtocolSession} session
*/
constructor(session: LH.Gatherer.ProtocolSession);
session: LH.Gatherer.ProtocolSession;
/**
* Fetches any resource using the network directly.
*
* @param {string} url
* @param {{timeout: number}=} options timeout is in ms
* @return {Promise<FetchResponse>}
*/
fetchResource(url: string, options?: {
timeout: number;
} | undefined): Promise<FetchResponse>;
/**
* @param {string} url
* @return {Promise<FetchResponse>}
*/
_fetchWithFetchApi(url: string): Promise<FetchResponse>;
/**
* @param {string} handle
* @param {{timeout: number}=} options,
* @return {Promise<string>}
*/
_readIOStream(handle: string, options?: {
timeout: number;
} | undefined): Promise<string>;
/**
* @param {string} url
* @return {Promise<{stream: LH.Crdp.IO.StreamHandle|null, status: number|null}>}
*/
_loadNetworkResource(url: string): Promise<{
stream: LH.Crdp.IO.StreamHandle | null;
status: number | null;
}>;
/**
* @param {string} url
* @param {{timeout: number}} options timeout is in ms
* @return {Promise<FetchResponse>}
*/
_fetchResourceOverProtocol(url: string, options: {
timeout: number;
}): Promise<FetchResponse>;
/**
* @template T
* @param {Promise<T>} promise
* @param {number} ms
*/
_wrapWithTimeout<T>(promise: Promise<T>, ms: number): Promise<T>;
}
import * as LH from '../../types/lh.js';
//# sourceMappingURL=fetcher.d.ts.map