export interface CdpTarget { readonly id: string; readonly title: string; readonly url: string; readonly type: string; readonly webSocketDebuggerUrl?: string; } export type CdpParams = Record; export type CdpEventListener = (method: string, params: CdpParams) => void; export interface CdpSession { readonly send: (method: string, params?: CdpParams, timeoutMs?: number) => Promise; readonly close: () => void; } export declare const browserTargetPath: (port: number) => Promise; export declare const listTargets: (port: number) => Promise; export declare const newTab: (port: number, url: string) => Promise; export declare const attach: (wsUrl: string, onEvent?: CdpEventListener) => Promise; //# sourceMappingURL=cdp.d.ts.map