import type { EntityHandle } from './codec.js'; import type { EntityIndex } from './index-allocator.js'; export interface EntityReservation { /** Pre-fully-formed handles, ready to use. */ readonly handles: readonly EntityHandle[]; readonly workerIndex: number; } /** Reserve `count` entity handles for `workerIndex` to consume mid-wave. Serial-phase only. */ export declare function reserveEntityBlock(index: EntityIndex, workerIndex: number, count: number): EntityReservation; /** After the wave, reclaim any handles the worker did not consume (returns them to the pool). */ export declare function returnReservedIds(index: EntityIndex, reservation: EntityReservation, consumedCount: number): void; //# sourceMappingURL=reservation.d.ts.map