import { type MutationHint } from "../chat/types.js"; import { type DrizzleExecutor } from "../drizzle.js"; import { type DocumentWriteRequestSummary } from "./types.js"; /** Creates one idempotent pending documentWriteRequests row for an active agent call after validating the staged Yjs batch, exact chat attachment, and current base sequence. The transaction records the title and sequence snapshot, five-minute expiry, audit evidence, and `document.write_requested` chat sequence together so the human approval card cannot diverge from the held tool call. */ export declare function documentWriteRequestCreate(executor: DrizzleExecutor, input: { id: string; actorUserId: string; agentUserId: string; requesterInstallationId: string; sessionId: string; callId: string; chatId: string; documentId: string; clientUpdateId: string; baseSequence: string; updates: readonly unknown[]; now: number; }): Promise<{ created: boolean; hint?: MutationHint; request: DocumentWriteRequestSummary; }>; //# sourceMappingURL=documentWriteRequestCreate.d.ts.map