import { type MutationHint } from "../chat/types.js"; import { type DrizzleExecutor } from "../drizzle.js"; import { type DraftSummary } from "./types.js"; /** * Replaces one actor-owned row in `drafts`, retaining empty text as a deletion tombstone, and records its personal sync invalidation atomically. * The timestamped tombstone gives every node the same last-write-wins boundary for clearing text as for replacing it. */ export declare function draftUpdate(executor: DrizzleExecutor, input: { actorUserId: string; chatId: string; text: string; }): Promise<{ draft: DraftSummary; hint: MutationHint; }>; //# sourceMappingURL=draftUpdate.d.ts.map