import type { TreeNode } from '../../internals/Tree/types'; interface UseFocusTreeProps { filteredData: T[]; disabledItemValues: any[]; expandItemValues: any[]; searchKeyword: string; flattenedNodes: any; onExpand?: (nodeData: T, expanded: boolean) => void; onFocused?: (value: TreeNode['value']) => void; } /** * Custom hook that manages the focus behavior of a tree component. */ declare function useFocusTree(props: UseFocusTreeProps): { treeViewRef: import("react").RefObject; focusTreeFirstNode: (...args: any[]) => any; focusItemValue: string | number | null | undefined; treeNodesRefs: {}; saveTreeNodeRef: (ref: any, refKey?: string) => void; setFocusItemValue: import("react").Dispatch>; onTreeKeydown: (...args: any[]) => any; }; export default useFocusTree;