import React from 'react'; /** * Focus on children with arrow keys and home / end buttons. * * @param ref Component ref * @param rotating Jump to first item from last or vice versa * @param directChildrenOnly Useful if you don't want to focus on other focussable elements inside the child components of the ref * @param horizontally In case you need to navigate horizontally, using left / right arrow buttons */ declare const useFocusWithArrows: (ref: React.RefObject, rotating?: boolean, directChildrenOnly?: boolean, horizontally?: boolean) => { keyDown: (e: React.KeyboardEvent) => void; }; export default useFocusWithArrows; //# sourceMappingURL=useFocusWithArrows.d.ts.map