/** * A timeout whose budget advances only while its owner is visible. The owner * still decides which work is eligible: this helper never pauses the work * itself, nor any unrelated watchdog. */ export interface PausableDeadline { cancel(): void; pause(): void; resume(): void; } export declare function createPausableDeadline(timeoutMs: number, onExpire: () => void): PausableDeadline;