import { Language } from './language';
import { DataSet, ModelData, Normalizer, PreprocessorEngines, Stemmer, Tokenizer, Vocabulary } from './types';
export declare class Preprocessor {
    readonly language: Language;
    readonly maxSeqLen: number;
    readonly vocabulary: Vocabulary;
    readonly normalizer: Normalizer;
    readonly tokenizer: Tokenizer;
    readonly stemmer: Stemmer;
    constructor(language: Language, maxSeqLen: number, vocabulary: Vocabulary, normalizer?: Normalizer, tokenizer?: Tokenizer, stemmer?: Stemmer);
    static fromModelData(modelData: ModelData, engines: PreprocessorEngines): Preprocessor;
    static fromData(data: DataSet, language: Language, maxSeqLen: number, engines: PreprocessorEngines): Preprocessor;
    preprocess(sentence: string): number[];
    private computeSequence;
}
