import { type CDPConnection, type CDPConnectionObserver, type CDPError, type Command, type CommandParams, type CommandResult } from './CDPConnection.js'; import type { ConnectionTransport } from './ConnectionTransport.js'; export declare class DevToolsCDPConnection implements CDPConnection { #private; constructor(transport: ConnectionTransport); observe(observer: CDPConnectionObserver): void; unobserve(observer: CDPConnectionObserver): void; send(method: T, params: CommandParams, sessionId?: string): Promise<{ result: CommandResult; } | { error: CDPError; }>; resolvePendingCalls(sessionId: string): void; private sendRawMessageForTesting; private onMessage; private hasOutstandingNonLongPollingRequests; private deprecatedRunAfterPendingDispatches; private executeAfterPendingDispatches; }