import type { AgentSessionRuntime } from "../../core/agent-session-runtime.ts"; export type { RpcCommand, RpcExtensionUIRequest, RpcExtensionUIResponse, RpcResponse, RpcSessionState, } from "./rpc-types.ts"; export interface RpcModeOptions { deferInteractiveEngineResources?: boolean; } /** * Run in RPC mode. * Listens for JSON commands on stdin, outputs events and responses on stdout. */ export declare function runRpcMode(runtimeHost: AgentSessionRuntime, options?: RpcModeOptions): Promise; //# sourceMappingURL=rpc-mode.d.ts.map