import type { OutputEvent } from '../types'; import { type OmpRpcInboundFrame } from './rpc-protocol'; export interface OmpRpcEventState { lastAssistantText: string; lastAssistantThinking: string; lastToolId: string | null | undefined; normalizedBytes: number; } export declare function createOmpRpcEventState(): OmpRpcEventState; /** * Normalize one decoded OMP RPC v2 event frame into zero or more OutputEvents. Control frames never * leak into log, attach, or ledger output. */ export declare function normalizeOmpRpcFrame(frame: OmpRpcInboundFrame, state: OmpRpcEventState): readonly OutputEvent[]; export { parseNormalizedOmpRpcEventLine } from './rpc-event-lines'; //# sourceMappingURL=rpc-events.d.ts.map