/** * awaitHuman — delegate a task to a human and await the result. * * Direct mode: creates a task on the server via POST /api/tasks, then * long-polls GET /api/tasks/{id}/poll until a terminal status or the * caller-side deadline expires. Reconnects each `POLL_INTERVAL_SECONDS` * to stay under gateway timeouts. * * For durable workflows, use the Temporal or LangGraph adapter — they * wrap this same primitive with engine-level persistence. * * Cross-runtime: only uses `fetch`, `AbortController`, `crypto.subtle`, * and `TextEncoder`. No node:* imports. */ import type { AwaitHumanOptions } from "./types/index.js"; export declare function awaitHuman(options: AwaitHumanOptions): Promise; //# sourceMappingURL=await-human.d.ts.map