import { type DrizzleExecutor } from "../drizzle.js"; import type { DocumentHostSummary, DocumentSnapshot } from "./types.js"; /** Returns a transactionally consistent Yjs snapshot only when the token actor remains an active member of the exact plugin chat and the document remains attached there. Capturing the document row and bounding retained updates to its advertised last sequence prevents compaction or concurrent writes from producing a snapshot from two database moments. */ export declare function documentGetForChatHost(executor: DrizzleExecutor, actorUserId: string, chatId: string, documentId: string): Promise<{ document: DocumentHostSummary; snapshot: DocumentSnapshot; }>; //# sourceMappingURL=documentGetForChatHost.d.ts.map