import type { ChildProcessWithoutNullStreams } from 'node:child_process'; import { type OmpRpcCommand, type OmpRpcInboundFrame } from './rpc-protocol'; import { type DriverState } from './rpc-driver-state'; export declare class OmpRpcChannel { private readonly child; private readonly state; constructor(child: ChildProcessWithoutNullStreams, state: DriverState); registerLifetimeId(id: string): boolean; writeFrame(frame: OmpRpcCommand): void; sendCommand(command: OmpRpcCommand): Promise>; assertSuccessfulResponse(response: Record, command: string, id: string): void; handleResponse(frame: OmpRpcInboundFrame): void; handleExtensionUiRequest(frame: OmpRpcInboundFrame): void; handleHostToolCall(frame: OmpRpcInboundFrame): void; handleHostUriRequest(frame: OmpRpcInboundFrame): void; private inboundId; private assertInboundId; } //# sourceMappingURL=rpc-driver-channel.d.ts.map