/// export interface RovingTabIndexOptions { /** * Index of the item that should be intially focused when focus enters root container. */ initialIndex?: number; /** * Arrow keys that should focus the next element of the list. */ nextKeys?: string[]; /** * Arrow keys that should focus the previous element of the list. */ prevKeys?: string[]; /** * Arrow keys that should focus the first element of the list. */ firstKeys?: string[]; /** * Arrow keys that should focus the last element of the list. */ lastKeys?: string[]; /** * Whether the focus should wrap around when navigate before first item and after last item. */ wrapAround?: boolean; /** * Return an ordered array of HTMLElement that should have focus managed. */ getItems(root: HTMLElement): HTMLElement[]; } export declare function useRovingTabIndex(options: RovingTabIndexOptions): import("react").MutableRefObject;