/** * IMA/DVI ADPCM decoding. * * A 4:1 lossy compression that stores each sample as a 4-bit delta against an * adaptive step size. Long obsolete for music, but still the default in a lot of * telephony, game-asset, and embedded-recorder output — exactly the awkward * files that make a "convert my audio" tool useful. Decode is supported; * encoding to ADPCM is not, because nothing benefits from new ADPCM in 2026. * * Data is organised in fixed-size blocks. Each block restarts the predictor from * a stored value, so a corrupt block cannot poison the rest of the stream — and * it means blocks can be decoded independently. */ /** Frames stored in one ADPCM block. */ export declare function adpcmSamplesPerBlock(blockAlign: number, channels: number): number; /** * Decodes IMA ADPCM into planar float channels. * * @param bytes Complete ADPCM data (all blocks, concatenated). * @param channels Channel count. * @param blockAlign Bytes per block, from the container's `fmt ` chunk. * @param totalFrames Frames to produce; the tail of a final partial block is dropped. */ export declare function decodeImaAdpcm(bytes: Uint8Array, channels: number, blockAlign: number, totalFrames: number): Float32Array[];