import { type ChildProcess } from 'node:child_process'; export interface LaunchOptions { /** Port for --remote-debugging-port. */ port: number; /** Path to user-data-dir. Created if missing. */ profileDir: string; /** If true, launch without a visible window (--headless=new). Useful * for tests and CI; user-driven flows want it false. */ headless?: boolean; } export declare function defaultProfileDir(): string; export declare function findChromeBinary(): string; export declare function launchChrome(opts: LaunchOptions): ChildProcess; export declare function waitForCdpReady(port: number, timeoutMs?: number): Promise;