import type { CatalogSpanAlignment } from "../catalog-span-alignment.js";
import type { MathAwareAlignment } from "../math-alignment/index.js";
import type { NormalizedTextMap } from "../text-processing.js";
import type { TTSHighlightChunk } from "./types.js";
export interface SpeechCompositionChunkInput {
    speechText: string;
    visibleText: string;
    sourceElement: Element | null;
    regionElement?: Element | null;
    regionRange?: Range;
    alignment?: CatalogSpanAlignment;
    mathAlignment?: MathAwareAlignment;
    mathAlignments?: Array<{
        element: Element;
        alignment: MathAwareAlignment;
    }>;
    visibleMap?: NormalizedTextMap;
}
export interface NormalizeSpeechChunksArgs {
    contentRoot: Element;
    chunks?: SpeechCompositionChunkInput[];
    speechText?: string;
    visibleText?: string;
    sourceElement?: Element | null;
    regionElement?: Element | null;
    regionRange?: Range;
    visibleMap?: NormalizedTextMap;
}
export declare const normalizeSpeechChunks: (args: NormalizeSpeechChunksArgs) => TTSHighlightChunk[];
