import type { PDSImage } from '../../interfaces/PdsImage'; /** * Parses and provides pixel-level access to a PDS4 `Array_2D_Image` product. * * A PDS4 dataset consists of an XML label (parsed by {@link parseXML}) * and a binary image file. The constructor reads all required parameters * from the XML and validates that an `Array_2D_Image` element exists. */ export declare class PDS4Image implements PDSImage { width: number; height: number; private readonly view; private readonly dataType; private readonly offsetBytes; private readonly scaling; private readonly valueOffset; /** * Compiles a PDS4 image from the given XML header and binary data. * @param xml PDS Header XML data. * @param buffer PDS Image Data. */ constructor(xml: Document, buffer: ArrayBuffer); /** * Returns the calibrated pixel value at column `x`, row `y`. * The raw sample is multiplied by `scaling_factor` and added to `value_offset`. * * @param x - Zero-based column index. * @param y - Zero-based row index. */ getPixel(x: number, y: number): number; private getBytesPerSample; /** * Decodes all pixels into a row-major {@link Float32Array}. * The length equals `width × height`. */ toFloat32Array(): Float32Array; }