export declare function waitForViaPlaywright(opts: { cdpUrl: string; targetId?: string; timeMs?: number; text?: string; textGone?: string; selector?: string; url?: string; loadState?: 'load' | 'domcontentloaded' | 'networkidle'; fn?: string; timeoutMs?: number; }): Promise;