export type ExitReason = "signal" | "timeout"; export declare function waitUntilInterruptedOrTimeout(durationSeconds?: number): Promise;