/** * Low-level binary reader for PDS3 image data. * Supports 8-bit and 16-bit sample reads with configurable byte order * determined by the `SAMPLE_TYPE` keyword in the LBL label. */ export declare class BinaryReader { private readonly view; private readonly littleEndian; private readonly signed; /** * @param buffer - Raw image buffer. * @param sampleType - Value of the PDS3 `SAMPLE_TYPE` keyword * (e.g. `'MSB_INTEGER'`, `'LSB_INTEGER'`). */ constructor(buffer: ArrayBuffer, sampleType: string); /** * Reads an unsigned integer sample at the given byte offset. * * @param offset - Byte offset within the buffer. * @param bits - Sample bit-depth (8 or 16). * @returns Raw (unscaled) sample value. * @throws If `bits` is not 8 or 16. */ read(offset: number, bits: number): number; }