import type { TermsToHighlight } from '@coveo/headless';
/**
 * @internal
 */
export declare class TextParser {
    private stemmingInfoFromIndex;
    constructor(stemmingInfoFromIndex: TermsToHighlight);
    parse(element: HTMLElement): string;
    private isTaggedWord;
    private getHighlightedInnerText;
    private getTextOfHTMLElement;
    private resolveOriginalTerm;
}
