import { KeyboardEvent, RefObject } from 'react'; import { SideNavContextProps } from '../SideNavContext'; /** * Handles keyboard navigation for SideNav components using arrow keys. * * This function manages focus movement between navigable elements in a SideNav, * providing circular navigation (wrapping from last to first and vice versa). * It updates tabindex attributes to maintain proper focus management and * prevents default browser behavior for arrow key navigation. * * @param e - The keyboard event that triggered the navigation * @param links - NodeList of all navigable elements in the SideNav * @param current - Ref object pointing to the currently focused element * @returns void */ export declare const sideNavKeyboardNavigation: (e: KeyboardEvent, links: SideNavContextProps["links"], current: RefObject) => void;