import type { KwsSpotter, KwsStream } from '../wasmTypes';
import type { KWSModelConfig } from '../../types/interfaces';
import type { WaveformInput } from '../../types/api';
import { type Constructor } from './mixinUtils';
export declare function KwsMixin<TBase extends Constructor>(Base: TBase): {
    new (...args: any[]): {
        kwsSpotter: KwsSpotter | null;
        kwsStream: KwsStream | null;
        initKws(config: KWSModelConfig): Promise<{
            success: boolean;
            error?: string;
        }>;
        acceptKwsWaveform({ sampleRate, samples }: WaveformInput): Promise<{
            success: boolean;
            detected: boolean;
            keyword: string;
            error?: string;
        }>;
        resetKwsStream(): Promise<{
            success: boolean;
        }>;
        releaseKws(): Promise<{
            released: boolean;
        }>;
    };
} & TBase;
//# sourceMappingURL=kws.d.ts.map