export interface JobStatus { status: string; error?: string | null; [k: string]: unknown; } export declare function startAndPoll(startPath: string, body: unknown, opts?: { maxMs?: number; intervalMs?: number; }): Promise; /** Poll one already-started job to completion. * * Split out of startAndPoll so a caller that must inspect the START response * first can still share this loop. verify_behavior needs that: a backend * without async support silently ignores the opt-in flag and answers the start * call with the finished simulation, so the client has to look before it polls * — otherwise publishing the client ahead of the deploy breaks every call. */ export declare function pollJob(jobId: string, opts?: { maxMs?: number; intervalMs?: number; startPath?: string; }): Promise;