import type { JobQueue } from "./queue.js"; /** Commit a restart only after the queue is idle; a bounded timeout always restores dispatch. */ export declare function prepareRestart(queue: Pick, options: { force: boolean; waitSeconds: number; }): Promise;