import { type menuAction } from "./CascadingMenuAction"; import type { flattenedMenuState } from "./stateUtils"; export type stateItem = { id: string; highlightedItemIndex: number | null; }; type state = stateItem[]; export declare function useStateReducer(menusDataById: flattenedMenuState, isNavigatingWithKeyboard: boolean): (state: state, action: menuAction) => state; export {};