import { type MessageSummary, type MutationHint } from "../chat/types.js"; import { type DrizzleExecutor } from "../drizzle.js"; /** * Appends the prior content to messageRevisions, updates the authorized messages row, and rebuilds mentions and search text. * Version history and projections share one channel point so clients never search new text while rendering an older message revision. */ export declare function messageEdit(executor: DrizzleExecutor, input: { actorUserId: string; messageId: string; text: string; reason?: string; expectedRevision?: number; }): Promise<{ message: MessageSummary; hint: MutationHint; }>; //# sourceMappingURL=messageEdit.d.ts.map