/** * HighlightManager handles adding/removing highlight classes from tour targets */ export declare class HighlightManager { private currentElement; private highlightClass; constructor(highlightClass?: string); /** * Update the highlight class (e.g., if config changes) */ setHighlightClass(highlightClass: string | undefined): void; /** * Get the current highlight class */ getHighlightClass(): string | undefined; /** * Highlight a new element (removes highlight from previous element) * * @param element - The element to highlight */ highlight(element: Element): void; /** * Re-apply the highlight class to the current element * * The class is the consumer's own styling hook, so it has to stay a class rather * than move to a data attribute. That leaves it exposed to React rewriting the * target's `class` attribute, which the tour's target watcher recovers from by * calling this. */ reapply(): void; /** * Clear any current highlight */ clear(): void; /** * Full cleanup - call on unmount */ destroy(): void; } /** * Create a new HighlightManager instance */ export declare function createHighlightManager(highlightClass?: string): HighlightManager; //# sourceMappingURL=highlightManager.d.ts.map