
import React, { HTMLAttributes, MutableRefObject } from "react";
import { FocusStrategy } from "@react-types/shared";

//#region src/components/actions/Menu/context.d.ts
interface MenuContextValue extends Omit<HTMLAttributes<HTMLElement>, 'autoFocus'> {
  onClose?: () => void;
  closeOnSelect?: boolean;
  shouldFocusWrap?: boolean;
  autoFocus?: boolean | FocusStrategy;
  ref?: MutableRefObject<HTMLUListElement>;
  mods?: {
    popover?: boolean;
    tray?: boolean;
  };
  isClosing?: boolean;
}
declare const MenuContext: React.Context<MenuContextValue>;
declare function useMenuContext(): MenuContextValue;
//#endregion
export { MenuContext, MenuContextValue, useMenuContext };
//# sourceMappingURL=context.d.ts.map