import { type KeyboardEvent, type RefObject } from "react"; import { type IUiMenuContext, type IUiMenuItemData, type IUiMenuProps } from "./types.js"; /** * @internal */ export declare function useUiMenuContextValue(props: IUiMenuProps, menuComponentRef: RefObject, itemsContainerRef: RefObject): IUiMenuContext; /** * @internal */ export declare function useKeyNavigation({ menuContextValue, shouldKeyboardActionPreventDefault, shouldKeyboardActionStopPropagation, onUnhandledKeyDown, }: { menuContextValue: IUiMenuContext; onUnhandledKeyDown: IUiMenuProps["onUnhandledKeyDown"]; shouldKeyboardActionPreventDefault?: boolean; shouldKeyboardActionStopPropagation?: boolean; }): (event: KeyboardEvent) => void; export declare function useCustomContentKeyNavigation({ menuContextValue, shouldKeyboardActionPreventDefault, shouldKeyboardActionStopPropagation, onUnhandledKeyDown, }: { menuContextValue: IUiMenuContext; onUnhandledKeyDown: IUiMenuProps["onUnhandledKeyDown"]; shouldKeyboardActionPreventDefault?: boolean; shouldKeyboardActionStopPropagation?: boolean; }): (event: KeyboardEvent) => void; //# sourceMappingURL=hooks.d.ts.map