import type { VoiceActivityDetector } from '../wasmTypes';
import type { VadModelConfig } from '../../types/interfaces';
import type { WaveformInput } from '../../types/api';
import { type Constructor } from './mixinUtils';
export declare function VadMixin<TBase extends Constructor>(Base: TBase): {
    new (...args: any[]): {
        vad: VoiceActivityDetector | null;
        initVad(config: VadModelConfig): Promise<{
            success: boolean;
            error?: string;
        }>;
        acceptVadWaveform({ sampleRate, samples }: WaveformInput): Promise<{
            success: boolean;
            isSpeechDetected: boolean;
            segments: any[];
            error?: string;
        }>;
        resetVad(): Promise<{
            success: boolean;
        }>;
        releaseVad(): Promise<{
            released: boolean;
        }>;
    };
} & TBase;
//# sourceMappingURL=vad.d.ts.map