import { AudioPostProcessSettings } from "./AudioPostProcess.types"; export type { AudioPostProcessSettings } from "./AudioPostProcess.types"; export interface DecodeAndPostProcessResult { channels: Float32Array[]; decodedChannels: number; decodedDuration: number; } /** * Send already-decoded channel data to the worker for resample + mono mix. * Buffers are transferred (zero-copy) both ways. */ export declare function postProcessAudioChannels(channels: Float32Array[], settings: AudioPostProcessSettings): Promise; /** * Send raw encoded audio data to the worker for decode + resample + mono mix. * When OfflineAudioContext is available in the worker (secure context), the entire * pipeline runs off the main thread. Otherwise, decoding falls back to the main * thread's AudioContext, with resample + mix still handled by the worker. */ export declare function decodeAndPostProcessInWorker(audioData: ArrayBuffer, settings: AudioPostProcessSettings): Promise;