import { LayersModel } from '@tensorflow/tfjs-node';
import { NlpTaskConfig } from '../storage';
import { Locale } from '../types';
export declare abstract class ModelSelector<R, C extends NlpTaskConfig> {
    readonly locales: Locale[];
    readonly modelsBaseUrl: string;
    private models;
    protected constructor(locales: Locale[], modelsBaseUrl: string);
    protected load(): Promise<this>;
    private loadModelsInfo;
    private loadModels;
    select(locale: Locale): R;
    protected abstract createRecognizer(config: C, model: LayersModel): R;
}
