import { DescendantsList } from '../Descendants'; import { HighlightHookReturnType, UseHighlightOptions } from './highlight.types'; import { HighlightContextType } from './HighlightContext'; /** * Custom hook that handles setting the highlighted descendant index, * and fires any `onChange` side effects */ export declare const useHighlight: ( /** * The context used to track highlight */ context: HighlightContextType, /** * An accessor for the updated descendants list */ getDescendants: () => DescendantsList, /** * Additional options */ options?: UseHighlightOptions) => HighlightHookReturnType; //# sourceMappingURL=useHighlight.d.ts.map