import type { RpcCommandHandler } from "./rpc-command-handler.ts"; import type { RpcPendingExtensionRequests } from "./rpc-extension-ui.ts"; import { type RpcOutput } from "./rpc-responses.ts"; interface RpcInputLineHandlerOptions { output: RpcOutput; pendingExtensionRequests: RpcPendingExtensionRequests; handleCommand: RpcCommandHandler; checkShutdownRequested: () => Promise; handleInteractiveEngineLine?: (line: string) => boolean; /** * Announce that this child owns a correlated request, before any handler * work runs. Interactive-engine children only; plain RPC has no host that * needs the ownership boundary. */ announceRequestAccepted?: (requestId: string, command: string) => void; } export declare function createRpcInputLineHandler({ output, pendingExtensionRequests, handleCommand, checkShutdownRequested, handleInteractiveEngineLine, announceRequestAccepted, }: RpcInputLineHandlerOptions): (line: string) => Promise; export {}; //# sourceMappingURL=rpc-input.d.ts.map