import type { KeyboardEvent, RefObject } from "react"; import type { TabsOrientation } from "./Tabs.js"; interface Options { listRef: RefObject; orientation: TabsOrientation; onValueChange: (value: string) => void; } /** Roving-tabindex keyboard navigation for Tabs (D67): arrow keys along the * orientation's axis with wrap, Home/End, disabled tabs skipped, and selection * following focus (automatic activation). * * Deliberately separate from useMenuKeyboard rather than abstracted with it. * They share "roving tabindex with wrap and Home/End" and diverge on * everything else: Menu is vertical-only, adds character typeahead, handles * Esc, and returns focus to a trigger; Tabs is bi-axial, has none of those, and * moves selection as it moves focus. A shared hook would take an options object * with more branches than either caller uses. If a third caller appears, that * is the signal to abstract. */ export declare function useTabsKeyboard({ listRef, orientation, onValueChange }: Options): (e: KeyboardEvent) => void; export {}; //# sourceMappingURL=useTabsKeyboard.d.ts.map