export type UseTabKeyHandlerOrientation = 'horizontal' | 'vertical'; export interface UseTabsListKeyHandlerProps { value?: string; onChange: (value: string) => void; tabsRef: React.MutableRefObject<{ [key: string]: HTMLElement | null; }>; tabListRef: React.MutableRefObject; orientation?: UseTabKeyHandlerOrientation; } /** * Custom hook to handle keyboard navigation for a tab list component. * * This hook ensures that the tab list is accessible by providing keyboard * navigation using arrow keys, Home, and End keys. It supports both horizontal * and vertical orientations. * * @link https://www.w3.org/WAI/ARIA/apg/patterns/tabs/ */ export declare const useTabsListKeyHandler: ({ value, onChange, tabsRef, tabListRef, orientation, }: UseTabsListKeyHandlerProps) => void; //# sourceMappingURL=useTabsListKeyHandler.d.ts.map