import { type MutationHint } from "../chat/types.js"; import { type DrizzleExecutor } from "../drizzle.js"; import type { DocumentWriteRequestSummary } from "./types.js"; /** Reads one held document-write outcome and atomically fails an overdue pending documentWriteRequests row, advancing `document.write_failed` in the request chat. This polling boundary gives the durable agent call a terminal database result instead of allowing an abandoned approval to hang forever. */ export declare function documentWriteRequestAwaitOutcome(executor: DrizzleExecutor, requestId: string, now: number): Promise<{ hint?: MutationHint; request: DocumentWriteRequestSummary; }>; //# sourceMappingURL=documentWriteRequestAwaitOutcome.d.ts.map