export type NormalizedTextMap = Map<number, {
    node: Text;
    offset: number;
}>;
export type BoundarySpacingMode = "segmenterPreferred" | "alnum" | "none";
export interface TextProcessingOptions {
    locale?: string;
    boundarySpacingMode?: BoundarySpacingMode;
}
export declare const normalizeTextForSpeech: (text: string) => string;
export declare const createSpeechAlignmentTokenPattern: () => RegExp;
export declare const isElementHiddenForTTS: (element: Element) => boolean;
export declare const isNodeHiddenForTTS: (node: Node, root?: Element | null) => boolean;
export declare const shouldInsertWordBoundarySpace: (previousChar: string | null, nextChar: string | null, options?: TextProcessingOptions) => boolean;
export declare const collectVisibleTextAndMap: (element: Element, options?: TextProcessingOptions) => {
    text: string;
    map: NormalizedTextMap;
};
export declare const extractVisibleText: (element: Element, options?: TextProcessingOptions) => string;
