/** * Commands exempt from the generic request deadline. * * Two groups, for two reasons: * * - Work legitimately gated on human or agent interaction: interactive prompts * and custom-UI pickers (routed through `prompt`), queued turn-boundary sends * (`steer`/`follow_up`), long-running shell and compaction work, and * session-tree navigation or mutation that can open pickers. * - Cooperative cancellation. Escape's whole contract is that it asks the * engine to stop and waits for as long as the engine takes. A host-side * deadline would surface as `Timeout waiting for response to abort…` — a red * error about the host's own impatience while the engine is still working — * and would not stop anything. * * Failure detection is unaffected: engine exit, transport violations, generation * replacement, and explicit stop all reject pending requests through * rejectPendingRequests/failTransport independently of any timer. */ export declare const LONG_LIVED_COMMANDS: ReadonlySet; export declare const DEFAULT_REQUEST_TIMEOUT_MS = 30000; /** * How long to wait for a dead child's stdout to drain before failing the * requests it never answered. `'close'` normally arrives first; this only * bounds the case where a descendant inherited stdout and keeps it open. */ export declare const EXIT_DRAIN_TIMEOUT_MS = 500; /** Rejection message for a restart superseded by an explicit stop or disposal. */ export declare const RESTART_CANCELLED_MESSAGE = "Interactive engine restart cancelled"; //# sourceMappingURL=rpc-command-timeouts.d.ts.map