export declare class GmailHighlighter {
    private highlightTerms;
    private observer;
    private isHighlighting;
    private debounceTimer;
    private debounceDelay;
    private onHighlightsUpdated;
    constructor(highlightTerms?: string[], onHighlightsUpdated?: ((elements: HTMLElement[]) => void) | null);
    init(): void;
    startObserver(): void;
    findGmailContainer(): Element | null;
    debounceHighlight(): void;
    highlightAllEmails(): void;
    isElementVisible(element: Element): boolean;
    highlightInElement(element: Element): void;
    highlightInTextNode(textNode: Node): void;
    clearHighlights(): void;
    escapeRegex(string: string): string;
    refreshHighlights(): void;
    updateHighlightTerms(newTerms: string[] | null): void;
    destroy(): void;
}
export default GmailHighlighter;
//# sourceMappingURL=highlighter.d.ts.map