import { TreeNode } from "./TreeNode.js"; import { ReactElement } from "react"; /** * Props for `useNodeHighlighting` hook. * @alpha */ interface UseNodeHighlightingProps { /** Text that should be highlighted */ highlightText?: string; } /** * Result of `useNodeHighlighting` hook. * @alpha */ interface UseNodeHighlightingResult { /** Function that creates highlighted node labels. */ getLabel: (node: TreeNode) => ReactElement; } /** * A react hook that helps create highlighted node labels based on provided highlight. * @alpha */ declare function useNodeHighlighting({ highlightText }: UseNodeHighlightingProps): UseNodeHighlightingResult; export { useNodeHighlighting }; //# sourceMappingURL=UseNodeHighlighting.d.ts.map