export type BrowserName = 'chromium' | 'firefox' | 'webkit'; export interface BrowserProbeResult { /** Browser binary resolves to a path that exists on disk. */ onDisk: boolean; /** Browser actually launched (and closed) headless — the real health check. */ launchable: boolean; /** Resolved executable path (empty when executablePath() throws). */ execPath: string; /** Failure detail when onDisk is false or launch threw. */ error?: string; } /** * Single source of truth for browser health, shared by `wigolo warmup` and * `wigolo doctor` so they can never disagree (GH #116). Resolves the bundled * Playwright's `executablePath()`, checks it exists on disk, then performs a * real `launch({ headless: true })` + `close()` smoke-test under a timeout. * * A browser is only healthy when it actually launches: on bare Linux the * binary can be on disk yet fail at launch because OS shared libs (libnss3, * libgbm, ...) are missing. existsSync alone would lie; the launch smoke-test * is the honest "does it work" result. */ export declare function probeBrowser(name: BrowserName, opts?: { launchTimeoutMs?: number; }): Promise; //# sourceMappingURL=browser-probe.d.ts.map