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