/** * Kept below the daemon retirement wait. A normal graceful shutdown should * finish first; if Bun leaves node:http's close callback pending after a * WebSocket upgrade, the daemon must still release its process promptly. */ export declare const HUB_DAEMON_SHUTDOWN_DEADLINE_MS = 2000; export interface HubDaemonShutdownWatchdogOptions { deadlineMs: number; exitCode: number; onTimeout?: () => void; exit?: (code: number) => void; } export declare function armHubDaemonShutdownWatchdog(options: HubDaemonShutdownWatchdogOptions): void;