import type { ApiInterface } from '../types/api';
import type { LanguageIdModelConfig, LanguageIdInitResult, LanguageIdResult, ValidateResult } from '../types/interfaces';
export declare class LanguageIdService {
    private initialized;
    private api;
    constructor(api: ApiInterface);
    validateLibrary(): Promise<ValidateResult>;
    init(config: LanguageIdModelConfig): Promise<LanguageIdInitResult>;
    detectLanguage(sampleRate: number, samples: number[]): Promise<LanguageIdResult>;
    detectLanguageFromFile(filePath: string): Promise<LanguageIdResult>;
    release(): Promise<{
        released: boolean;
    }>;
}
//# sourceMappingURL=LanguageIdService.d.ts.map