/**
 * @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 PhraseClassifier implements Classifier {
    index: LocaleIndex<LibPostalLanguageCode>;
    protected languages?: LibPostalLanguageCode[];
    constructor({ languages }?: ClassifierOptions);
    /**
     * Perform classification on the given span.
     */
    abstract explore(span: Span, sectionIndex?: number, phraseIndex?: number): void;
    /**
     * Perform classification on the given context.
     */
    classifyTokens(context: TokenContext): void;
    classify(input: Span | string): Span;
}
//# sourceMappingURL=PhraseClassifier.d.ts.map