/** Decodes an IEEE 754 half-precision (binary16) value to a JS number. */ export declare function halfToFloat(value: number): number; /** * Encodes a JS number as IEEE 754 half-precision (binary16) bits. * * Finite values outside ±65504 clamp to the half max; NaN → quiet NaN; * ±Infinity stay infinite. Used when packing float32 pool backing into * `rgba16float` GPU textures. */ export declare function floatToHalf(value: number): number; /** * Packs `src[srcOffset..srcOffset+count)` into half bits at `dst[dstOffset..]`. * Lengths are in elements (floats / halfs), not bytes. */ export declare function encodeFloat32ToHalf(src: Float32Array, dst: Uint16Array, srcOffset?: number, count?: number, dstOffset?: number): void;