import type { MutationHint } from "../chat/types.js"; import { type DrizzleExecutor } from "../drizzle.js"; import type { DocumentWriteRequestSummary } from "./types.js"; /** Marks one still-pending documentWriteRequests row failed after staged-update application or approval infrastructure fails, recording the bounded error and advancing `document.write_failed` atomically. This terminal fallback exists so the durable agent call observes failure instead of waiting indefinitely after a non-authorization error. */ export declare function documentWriteRequestFail(executor: DrizzleExecutor, input: { actorUserId?: string; chatId: string; requestId: string; error: string; }): Promise<{ request: DocumentWriteRequestSummary; hint?: MutationHint; }>; //# sourceMappingURL=documentWriteRequestFail.d.ts.map