import type { Browser } from 'playwright'; import type { PageReady, Probe, Viewport, WalkReport } from './types.js'; export type WalkInput = { browser?: Browser; expected?: Record; gpu?: boolean; options?: Record>; probes: Probe[]; ready?: Record; readyTimeoutMs?: number; urls: string[]; versionKey?: string; viewport: Viewport; }; /** Imported here, not at module top: a consumer without a browser gets a sentence naming what to install, and the ratchet importing this package's types must not drag one in. */ export declare const launchBrowser: (gpu?: boolean) => Promise; export declare const VERSION_KEY = "Cloudflare-Workers-Version-Key"; /** Each page gets its own context with no cookies or storage, which is what gives `fake-session` meaning. Refusals come before the browser opens, a page that answers is walked whatever its status, and a page that answers nothing stops the walk. */ export declare const walk: ({ browser, expected, gpu, options, probes, ready, readyTimeoutMs, urls, versionKey, viewport }: WalkInput) => Promise; export declare const findingsIn: (report: WalkReport) => number;