/** * Encodes pixel data as a 16-bit grayscale PNG file. * * Pixel values are linearly normalized from their min/max range to [0, 65535]. * Compression uses uncompressed DEFLATE stored-blocks (BTYPE=00) so no * compression library is required while still producing a fully valid PNG. * * @param pixels - Row-major Float32Array of pixel values (length = width × height) * @param width - Image width in pixels * @param height - Image height in pixels * @returns ArrayBuffer containing a valid PNG file */ export declare function encodeToPNG(pixels: Float32Array, width: number, height: number): ArrayBuffer;