import { type Dispatch, type KeyboardEvent, type MouseEvent } from "react"; import type { CascadingMenuProps } from "../CascadingMenuProps"; import { type menuAction } from "./CascadingMenuAction"; import type { menuState } from "./stateUtils"; import type { stateItem } from "./useStateReducer"; interface useMenuTriggerHandlersProps { dispatch: Dispatch; children: CascadingMenuProps["children"]; setIsNavigatingWithKeyboard: (value: boolean) => void; openCloseMenu: (open: boolean) => void; rootMenuState: stateItem; rootMenuId: string | undefined; menusDataById: Record; } export declare function useMenuTriggerHandlers({ dispatch, children, setIsNavigatingWithKeyboard, openCloseMenu, rootMenuState, rootMenuId, menusDataById, }: useMenuTriggerHandlersProps): readonly [(event: MouseEvent) => void, (event: KeyboardEvent) => void]; export {};