/** Options for {@link encodeToWav}. */ export interface WavEncodeOptions { /** * Output bit depth. `0` = 32-bit IEEE-754 float (fmtType=3); * any other value = signed PCM (fmtType=1). Default is 16. */ bitDepth?: 0 | 8 | 16 | 24 | 32; } /** * Encode interleaved Float32 PCM samples (range nominally * `[-1.0, +1.0]`) into a RIFF/WAVE byte buffer. Samples outside * the range are clipped. */ export declare function encodeToWav(channelCount: number, samplingRate: number, pcm: Float32Array, options?: WavEncodeOptions): Uint8Array;