import { type NormalizedTextMap, type TextProcessingOptions } from "./text-processing.js";
export type MathAwareSpeechChunk = {
    type: "text";
    text: string;
    sourceElement?: Element;
} | {
    type: "math";
    mathml: string;
    fallbackText: string;
    sourceElement?: Element;
};
export interface MathAwareTextResult {
    visibleText: string;
    map: NormalizedTextMap;
    chunks: MathAwareSpeechChunk[];
    containsMathMarkup: boolean;
}
export declare const collectMathAwareTextAndMap: (element: Element, options?: TextProcessingOptions) => MathAwareTextResult;
