import * as Y from "yjs"; import type { RoomDescriptor } from "./descriptor"; import type { MayDbIndexDefinition, MayDbIndexItem, MayDbIndexOrderBy, MayDbIndexPrimitive, MayDbIndexQueryPageResult } from "../types"; export declare function buildIndexItem(definition: MayDbIndexDefinition, roomDescriptor: RoomDescriptor, doc: Y.Doc): MayDbIndexItem; export declare function readQueryRows(rowsMap: Y.Map, where: Record): MayDbIndexItem[]; export declare function pageRows(rows: MayDbIndexItem[], limit: number, afterRoomId: string | null): MayDbIndexQueryPageResult; export declare function compareIndexItems(left: MayDbIndexItem, right: MayDbIndexItem, orderBy: MayDbIndexOrderBy): number; //# sourceMappingURL=rows.d.ts.map