import type { RateTransposerInterpolationStrategy, SampleBufferType, StretchParameters } from '@soundtouchjs/core'; /** * Options for offline rendering with `FormantCorrectionNode`. */ export interface ProcessOfflineOptions { /** Source audio buffer to process. */ input: AudioBuffer; /** URL or path to the formant-correction processor script. */ processorUrl: string | URL; /** Pitch multiplier (1.0 = original pitch). */ pitch?: number; /** Pitch shift in semitones, combined with `pitch`. */ pitchSemitones?: number; /** Playback rate multiplier. Output length is scaled by `1 / playbackRate`. */ playbackRate?: number; /** Formant correction strength (`0` raw, `1` full correction). */ formantStrength?: number; /** Interpolation strategy for the internal rate transposer. */ interpolationStrategy?: RateTransposerInterpolationStrategy; /** WSOLA timing parameters for the SoundTouch stretch stage. */ stretchParameters?: StretchParameters; /** Internal sample buffer strategy. */ sampleBufferType?: SampleBufferType; } /** * Renders an `AudioBuffer` through `FormantCorrectionNode` in an `OfflineAudioContext`. * * @param options Offline processing options. * @returns The rendered output `AudioBuffer`. */ export declare function processOffline(options: ProcessOfflineOptions): Promise; //# sourceMappingURL=processOffline.d.ts.map