export interface FetchedPage { url: string; finalUrl: string; status: number; title: string; text: string; html: string; fetchedAt: number; mimeType?: string; bytes?: Uint8Array; } export interface BrowserOptions { headless: boolean; timeoutMs: number; maxBytes: number; userAgent?: string; cdpEndpoint?: string; } export declare const DEFAULT_USER_AGENT: string; export declare class FetchWedgeError extends Error { constructor(url: string, ms: number); } export declare function withHardDeadline(work: Promise, ms: number, url: string): Promise; export declare class BrowserSession { private readonly opts; private browser; private context; constructor(opts: BrowserOptions); start(): Promise; fetch(url: string): Promise; private extractViaPage; private fetchPdf; close(): Promise; } export declare function extractMimeType(headerValue: string | undefined): string | undefined; //# sourceMappingURL=browser.d.ts.map