import type { Room } from "../Room"; import type { MayDbIndexDefinition } from "../types"; import type { RoomDescriptor } from "./descriptor"; import type { RuntimeIndexHandle } from "./handle"; type IndexOps = { getOrCreateHandle(indexName: string, indexRoomId: string): RuntimeIndexHandle; upsertRoomToIndex(handle: RuntimeIndexHandle, descriptor: RoomDescriptor, room: Room): Promise; removeRoomFromIndex(handle: RuntimeIndexHandle, roomId: string): Promise; }; export declare class CollaborativeIndexSync { private readonly memberships; private readonly ops; constructor(ops: IndexOps); clear(): void; sync(options: { indexName: string; definition: MayDbIndexDefinition; roomDescriptor: RoomDescriptor; sourceRoom: Room; }): Promise; private resolveIndexRoomIds; private reconcile; } export {}; //# sourceMappingURL=collaborativeSync.d.ts.map