import type { PDSImage } from '../../interfaces/PdsImage'; import type { PDSLabel } from '../parser/types'; /** * Parses and provides pixel-level access to a PDS3 image. * * A PDS3 dataset consists of a text LBL label (parsed by {@link parseLBL}) * and a binary image file. The constructor reads geometry and scaling * parameters from the label and validates that the IMAGE object exists. */ export declare class PDS3Image implements PDSImage { private readonly reader; width: number; height: number; bits: number; private readonly prefix; private readonly scaling; private readonly offset; private readonly invalidConstant; private readonly imageOffset; /** * Compiles a PDS3 image from the given LBL metadata and binary data. * @param label PDS LBL data. * @param buffer PDS Image Data. */ constructor(label: PDSLabel, buffer: ArrayBuffer); private resolveImagePointerRecord; private findImageObject; /** * Returns the calibrated pixel value at column `x`, row `y`. * The raw sample is multiplied by `SCALING_FACTOR` and offset by `OFFSET`. * * @param x - Zero-based column index. * @param y - Zero-based row index. */ getPixel(x: number, y: number): number; /** * Decodes all pixels into a row-major {@link Float32Array}. * The length equals `width × height`. */ toFloat32Array(): Float32Array; }