import type { Browser } from 'playwright-core'; interface BrowserCache { executablePath?: string; channel?: string; browserName: string; md2pdfVersion: string; playwrightVersion?: string; } export declare function getPlaywrightVersion(): string; export declare function readCache(): BrowserCache | null; export declare function writeCache(cache: Partial): void; interface BrowserEntry { name: string; path?: string; channel?: string; } export declare function getPlatformCandidates(): BrowserEntry[]; export declare function discoverBrowser(): { executablePath: string; name: string; } | null; export declare function isMissingExecutableError(err: any): boolean; export declare function getBrowser(): Promise; export {};