/**
 * @copyright Sister Software
 * @license AGPL-3.0
 * @author Teffen Ellis, et al.
 */
import { Span, TokenContext } from "mailwoman/core/tokenization";
import { Classifier } from "./BaseClassifier.js";
export interface SectionClassifierUtils {
    findPhrasesContaining: (child: Span) => Span[];
}
export declare abstract class SectionClassifier implements Classifier {
    /**
     * Explore a span, classifying its children.
     */
    abstract explore(span: Span): void;
    classifyTokens(context: TokenContext): void;
    classify(input: Span | string): Span;
    /**
     * Find all phrases containing a child span.
     */
    static findPhrasesContaining(section: Span, child: Span): IteratorObject<Span, undefined, unknown>;
}
//# sourceMappingURL=SectionClassifier.d.ts.map