export declare const useRovingFocus: ( /** Function to run when new index is set */ handleNewIndex: (index: number) => void, /** List of elements that should have rocing focus */ inputRefList: React.RefObject[] | null | undefined>, /** Ref of container that should have the keyboard event handler */ containerRef: React.RefObject, /** Indicated wether right/left or up/down arrows should be used for navigation. Default is up/down. */ leftRightNavigation?: boolean) => void;