import { AudioFile } from "./AudioUtils.js"; /** * Rate used for writing files. We used to have 44.1 kHz here, but 22.05 kHz works just fine * and the WAV files are half the size. */ export declare const DEFAULT_SAMPLE_RATE = 22050; /** * Reads a WAV file from a buffer, returning an AudioFile object. */ export declare function readWavFile(arrayBuffer: ArrayBuffer): AudioFile; /** * Convert samples to a WAV file. * * http://soundfile.sapp.org/doc/WaveFormat/ */ export declare function writeWavFile(samples: Int16Array, sampleRate: number): Uint8Array; //# sourceMappingURL=WavFile.d.ts.map