import { type Task } from "./models.js"; import type { TaskStore } from "./store/base.js"; /** Poll get() until terminal or timeout. Returns the terminal Task (any status). * Throws TaskTimeout, leaving the task running. */ export declare function pollWait(store: TaskStore, taskId: string, { timeoutMs, pollMs }: { timeoutMs: number; pollMs?: number; }): Promise;