import type { SpokenLanguageIdInstance } from '../wasmTypes';
import type { WaveformInput } from '../../types/api';
import { type Constructor } from './mixinUtils';
export declare function LanguageIdMixin<TBase extends Constructor>(Base: TBase): {
    new (...args: any[]): {
        languageId: SpokenLanguageIdInstance | null;
        initLanguageId(config: any): Promise<{
            success: boolean;
            error?: string;
        }>;
        detectLanguage({ sampleRate, samples: rawSamples, }: WaveformInput): Promise<{
            success: boolean;
            language: string;
            durationMs: number;
            error?: string;
        }>;
        detectLanguageFromFile(filePath: string): Promise<{
            success: boolean;
            language: string;
            durationMs: number;
            error?: string;
        }>;
        releaseLanguageId(): Promise<{
            released: boolean;
        }>;
    };
} & TBase;
//# sourceMappingURL=languageId.d.ts.map