/** * Stable page ownership for the RAD chunk-residency path. * * A page is one authored RAD chunk. Its pool position does not change while * the chunk is resident, so changing the frontier only changes the draw-index * list and never copies selected splat attributes. */ export declare class RadChunkPageAllocator { readonly capacityPages: number; readonly chunkSize: number; private readonly freePages; private readonly pages; private revisionValue; constructor(capacityPages: number, chunkSize?: number); /** Number of chunks currently backed by stable pool pages. */ get residentCount(): number; /** Changes whenever a file-to-page identity can become stale. */ get revision(): number; /** Files with an allocated GPU page, in file order. */ get residentFiles(): readonly number[]; /** Returns the page number for a resident file, if any. */ pageOf(file: number): number | undefined; /** Allocates one stable page for a decoded chunk. */ allocate(file: number, count: number): number | undefined; /** Releases a page so a later residency period can reuse its slot range. */ release(file: number): boolean; /** Maps a global RAD node id to its stable pool slot. */ poolSlot(global: number): number | undefined; /** Maps a chunk id and local node index to its stable pool slot. */ poolSlotForNode(file: number, local: number): number | undefined; /** Maps a selected global-id list to pool indices, or returns null if a page is absent. */ poolSlots(globals: ArrayLike): Uint32Array | null; }