import { RefObject } from 'react'; interface Options { dir: 'vertical' | 'horizontal' | 'both'; elementRef?: RefObject; observableAttributes?: string[]; onKeyDown?: (focusedElement: HTMLElement, index: number) => void; } /** * A custom hook that allows you to implement roving focus in lists. * * * @param options An optional object for configuring the behavior of the roving focus. * * @example * export const Component: FC = () => { * const listRef = useRovingFocus({ dir: 'horizontal' }); * ... * } * * @since 7.1.0 */ export declare const useRovingFocus: (options?: Partial>) => { ref: RefObject; }; export {};