import type { PresentationHierarchyNode, PresentationTreeNode } from "@itwin/presentation-hierarchies-react"; /** @beta */ export interface HighlightInfo { text: string; } interface UseNodeHighlightingProps { rootNodes: PresentationTreeNode[] | undefined; highlight?: HighlightInfo & { activeMatchIndex?: number; onHighlightChanged?: (activeMatchIndex: number, matches: number) => void; }; } interface UseNodeHighlightingResult { activeNodeId?: string; getLabel: (node: PresentationHierarchyNode) => React.ReactElement; } export declare function useNodeHighlighting({ rootNodes, highlight }: UseNodeHighlightingProps): UseNodeHighlightingResult; export {}; //# sourceMappingURL=UseNodeHighlighting.d.ts.map