/** * Resolves only after the daemon WebSocket server is listening and its process * lifecycle handlers are installed. */ export declare const hubDaemonReady: Promise; /** * Abort-family rejections are expected daemon noise, not fatal faults: when a * user cancels a turn, in-flight provider streams and fetches can reject on a * floating promise after the run has already settled (DOMException * "AbortError" from fetch/undici, Node ABORT_ERR, or the runtime's own * AgentRuntimeAbortError). Exiting on those kills every resident session in * the daemon — the next message from any connected client then lands on * `session_not_found` and forces a rebuild from disk. */ export declare function isAbortRejection(reason: unknown): boolean;