import { IIndexSetCursor } from "../core/i_index_set_cursor.js"; /** * Cursor to a single index set span for queries. */ export declare class SingleIndexSetCursor implements IIndexSetCursor { private buffer_?; private currentIndex_; private end_; private high_; private low_; /** * Construct this, not accessible. */ private constructor(); /** * Get the current high 27 bits, as a regular number with the lower 5 bits * padded to zero. * * @return {number} The high bits. */ get high(): number; /** * Get a set of up to 32 low bits, in one-hot format or'd together, * so that each bit index represents a 5 bit bottom part corresponding to the top 27 * * @return {number} The high bits. */ get low(): number; /** * Step this cursor to the next high (and matching set of lows) * * @return {boolean} True if this is not at the end of the sequence, * false otherwise. */ step(): boolean; /** * Allocate a SingleIndexSetCursor, re-using freed ones in the pool. * * @param buffer * @param currentIndex * @param end * @return {SingleIndexSetCursor} The allocated cursor. */ static allocate(buffer: Uint32Array, currentIndex?: number, // note, ? is default undefined end?: number): SingleIndexSetCursor; /** * Free this cursor back to the pool. */ free(): void; } //# sourceMappingURL=single_index_set_cursor.d.ts.map