import type { SandboxHandle } from './substrate.js'; import type { CloudStatus } from './types.js'; export interface PollOpts { timeoutMs: number; intervalMs: number; /** * Reject reads where `updatedAt` is `<=` this ISO timestamp. Required when * polling from a fresh sandbox built from a template snapshot — the * template-build leaves a stale /tmp/slicc-join.json baked in, so without * a freshness floor the first poll returns the build-time tray URL. * Caller should pass an ISO timestamp captured at the moment substrate.create() * completed. If unset (CLI legacy callers), no freshness check is applied. */ minUpdatedAt?: string; } export declare function pollCloudStatus(handle: SandboxHandle, opts: PollOpts): Promise; export declare function pollForRefreshedStatus(handle: SandboxHandle, baselineUpdatedAt: string | undefined, opts: PollOpts): Promise; //# sourceMappingURL=polling.d.ts.map