export interface AllocU32Options { /** When true and the runtime allows it, back the array with a SharedArrayBuffer. */ readonly shared?: boolean; /** * Reserve a resizable backing whose view widens on `.grow()` up to `maxLength` elements. * Omit for a fixed-size, non-resizable buffer. */ readonly maxLength?: number; } export interface U32Region { /** * Length-tracking on a resizable backing (re-derives its length on `.grow()`), or fixed-size * over a non-resizable backing. Never constructed with an explicit length argument over a * resizable buffer. */ readonly view: Uint32Array; readonly backing: ArrayBufferLike; readonly shared: boolean; /** Current element capacity (`backing.byteLength / 4`). */ capacity(): number; /** Grow the backing to at least `length` elements. No-op if already large enough. */ grow(length: number): void; } export declare function allocU32(length: number, opts?: AllocU32Options): U32Region; //# sourceMappingURL=allocU32.d.ts.map