/// import { ListAction, ListActionContext } from '../useList'; import { ActionWithContext } from '../utils/useControllableReducer.types'; import { MenuInternalState } from './useMenu.types'; export type MenuActionContext = ListActionContext & { listboxRef: React.RefObject; }; export declare function menuReducer(state: MenuInternalState, action: ActionWithContext, MenuActionContext>): MenuInternalState | { open: boolean; highlightedValue: string | null; selectedValues: string[]; };