import React from 'react'; declare type UseRovingTabIndexOptions = { id: string; isSelected: boolean; elementRef: React.RefObject; onFocus?: React.FocusEventHandler; onKeyDown?: React.KeyboardEventHandler; }; export declare function useRovingTabIndex({ id, isSelected, elementRef, onFocus: originalOnFocus, onKeyDown: originalOnKeyDown, }: UseRovingTabIndexOptions): { onFocus: (event: React.FocusEvent) => void; onKeyDown: (event: React.KeyboardEvent) => void; tabIndex: number; }; declare type RovingTabIndexProviderProps = { children: React.ReactNode; orientation: React.AriaAttributes['aria-orientation']; shouldLoop?: boolean; }; export declare function RovingTabIndexProvider({ children, orientation, shouldLoop }: RovingTabIndexProviderProps): JSX.Element; export {};