import * as Y from "yjs"; import type { IndexRuntime } from "./runtime"; import type { Room } from "../Room"; import type { MayDbIndexDefinition, MayDbIndexHandle, MayDbIndexQueryPageOptions, MayDbIndexQueryPageResult } from "../types"; export declare class RuntimeIndexHandle implements MayDbIndexHandle { readonly indexName: string; readonly indexRoomId: string | null; readonly definition: MayDbIndexDefinition; activeCount: number; paused: boolean; indexRoom: Room | null; rowsMap: Y.Map | null; roomObserverCleanup: (() => void) | null; readyPromise: Promise | null; private readonly runtime; private readonly listeners; constructor(options: { runtime: IndexRuntime; indexName: string; indexRoomId: string | null; definition: MayDbIndexDefinition; }); activate(): () => void; ensureReady(): Promise; queryPage(options: MayDbIndexQueryPageOptions): Promise; subscribe(listener: () => void): () => void; notifyChange(): void; } //# sourceMappingURL=handle.d.ts.map