/**
 * @copyright Sister Software
 * @license AGPL-3.0
 * @author Teffen Ellis, et al.
 */
import type { LibPostalLanguageCode, LocaleIndex } from "mailwoman/core/resources";
import { Span, TokenContext } from "mailwoman/core/tokenization";
import { Classifier, ClassifierOptions } from "./BaseClassifier.js";
export declare abstract class WordClassifier implements Classifier {
    /**
     * A mapping of words to their originating languages.
     *
     * Each key is a word, and each value is a set of ISO 639-1 language codes.
     */
    index: LocaleIndex<LibPostalLanguageCode>;
    protected languages?: LibPostalLanguageCode[];
    constructor({ languages }?: ClassifierOptions);
    abstract explore(span: Span, sectionIndex?: number, childIndex?: number): void;
    classifyTokens(context: TokenContext): void;
    classify(input: Span | string): Span;
}
//# sourceMappingURL=WordClassifier.d.ts.map