import type { KeyboardEvent, RefObject } from "react"; interface Options { popoverRef: RefObject; triggerRef: RefObject; open: boolean; onEsc: () => void; } /** Roving-tabindex keyboard navigation for Menu (D53): Up/Down with wrap, * Home/End, character typeahead, Esc, and focus return on close. Disabled * items are skipped everywhere. Psi's only keyboard-navigation JS — a * deliberate departure from D52, which refused role="toolbar" precisely to * avoid it. */ export declare function useMenuKeyboard({ popoverRef, triggerRef, open, onEsc }: Options): (event: KeyboardEvent) => void; export {}; //# sourceMappingURL=useMenuKeyboard.d.ts.map