interface DrainState { draining: boolean; started_at?: string; signal?: string; } export declare function isDraining(): boolean; export declare function startDrainMode(signal?: string): void; export declare function getDrainState(): DrainState; export declare function clearDrainModeForTests(): void; export declare function waitForClaudeDrain(timeoutMs: number, pollMs?: number): Promise; export {}; //# sourceMappingURL=shutdown.d.ts.map