export declare const Primitive: { Int8: string; Int16: string; Int32: string; Uint8: string; Uint16: string; Uint32: string; Float32: string; Float64: string; }; export declare type Primitive = typeof Primitive[keyof typeof Primitive]; export declare type TypedArrayConstructor = any; export declare type TypedArray = Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array | BigInt64Array | BigUint64Array; export interface HeapBuffer { ensureSize(newSize: number): void; floats(): Float32Array; bytes(): Uint8Array; destroy(): void; } export interface HeapBufferView { readonly size: number; getArray(): TypedArray; }