import { type ChatSummary, type MutationHint } from "./types.js"; import { type DrizzleExecutor } from "../drizzle.js"; /** * Upserts messageReceipts through the requested sequence, recomputes unread message counters, and advances the reader's chatMembers state. * One transaction prevents a receipt from becoming visible while the member badge or per-message delivery projection still reports the old unread range. */ export declare function chatMarkRead(executor: DrizzleExecutor, input: { actorUserId: string; chatId: string; messageId?: string; }): Promise<{ chat: ChatSummary; hint: MutationHint; }>; //# sourceMappingURL=chatMarkRead.d.ts.map