export declare const OMP_RPC_CONTRACT_RELEASE: "17.2.1"; export interface OmpRpcDecoderLimits { readonly maxPhysicalFrameBytes: number; readonly maxReassembledFrameBytes: number; readonly maxConcurrentReassemblies: number; readonly maxChunksPerFrame: number; readonly maxInflightReassemblyBytes: number; } export declare const DEFAULT_OMP_RPC_DECODER_LIMITS: OmpRpcDecoderLimits; export interface OmpRpcInboundFrame { readonly type: string; readonly [key: string]: unknown; } export interface OmpRpcCommand { readonly id?: string; readonly type: string; readonly [key: string]: unknown; } export declare class OmpRpcProtocolError extends Error { readonly code: string; constructor(code: string, message: string); } export declare function classifyOmpRpcFrameType(type: string): 'known-pre-negotiation' | 'v2-only' | 'unknown'; export declare function assertNoPreNegotiationRpcChunk(frameType: string, negotiatedV2: boolean): void; export declare function encodeOmpRpcCommand(command: OmpRpcCommand, maxFrameBytes: number): Buffer; //# sourceMappingURL=rpc-protocol-contract.d.ts.map