import type { DownloadResult } from '../types.js'; export declare function downloadViaPlaywright(opts: { cdpUrl: string; targetId?: string; ref: string; path: string; timeoutMs?: number; allowedOutputRoots?: string[]; }): Promise; export declare function waitForDownloadViaPlaywright(opts: { cdpUrl: string; targetId?: string; path?: string; timeoutMs?: number; allowedOutputRoots?: string[]; }): Promise;