import type { Buffers, RegionKey } from '../memory/index.js'; export declare class SparseSetU32 { #private; constructor(buffers: Buffers, denseKey: RegionKey, sparseKey: RegionKey, initialCapacity: number, maxEntities: number); get size(): number; /** sparse[index] points into dense; the slot is valid iff dense[pos] === index AND pos < size. */ has(index: number): boolean; /** O(1); idempotent (has-guarded so no dup). Grows the addressable space lazily. */ add(index: number): void; /** O(1) swap-and-pop within dense. No-op if absent. */ remove(index: number): void; clear(): void; /** Dense iteration over dense[0..size). Values are entity indices. */ [Symbol.iterator](): Iterator; /** A live view of the dense prefix [0..size) — zero-copy; callers must not mutate it. */ denseView(): Uint32Array; } //# sourceMappingURL=sparse-set.d.ts.map