export declare function takeScreenshotViaPlaywright(opts: { cdpUrl: string; targetId?: string; fullPage?: boolean; ref?: string; element?: string; type?: 'png' | 'jpeg'; }): Promise<{ buffer: Buffer; }>; export declare function screenshotWithLabelsViaPlaywright(opts: { cdpUrl: string; targetId?: string; refs: string[]; maxLabels?: number; type?: 'png' | 'jpeg'; }): Promise<{ buffer: Buffer; labels: Array<{ ref: string; index: number; box: { x: number; y: number; width: number; height: number; }; }>; skipped: string[]; }>;