interface FocusItemValueProps { target: HTMLElement | null | (() => HTMLElement | null); data?: T[]; /** * When the down arrow key is pressed, whether to automatically focus on the option */ focusToOption?: boolean; valueKey?: string; focusableQueryKey?: string; defaultLayer?: number; rtl?: boolean; callback?: (value: any, event: React.KeyboardEvent) => void; getParent?: (node: T) => T | undefined; } /** * A hook that manages the focus state of the option. * @param defaultFocusItemValue * @param props */ declare const useFocusItemValue: (defaultFocusItemValue: T | null | undefined, props: FocusItemValueProps) => { focusItemValue: T | null | undefined; setFocusItemValue: import("react").Dispatch>; layer: number; setLayer: import("react").Dispatch>; keys: any[]; setKeys: import("react").Dispatch>; onKeyDown: (...args: any[]) => any; }; export default useFocusItemValue;