/** * WAV file utilities for handling audio data * * This module provides utilities for creating WAV file headers and converting PCM data to WAV format. */ export declare const AudioFormatType: { readonly INTEGER: 0; readonly FLOAT: 1; }; export interface WAVOptions { sampleRate: number; channels?: number; bitsPerSample?: number; formatType?: number; } /** * Adds WAV header to PCM data * * Takes PCM data (either raw bytes from native APIs or Float32Array from Web Audio API) * and wraps it in a proper WAV file structure. */ export declare const addWAVHeader: (pcmData: ArrayBufferLike, options: WAVOptions) => ArrayBuffer; //# sourceMappingURL=utils.d.ts.map