import formatErrorMessage from "../../../../utils/esm/formatErrorMessage.js";
import * as React from "react";
const MenuCheckboxItemContext = /* @__PURE__ */ React.createContext(void 0);
if (process.env.NODE_ENV !== "production") MenuCheckboxItemContext.displayName = "MenuCheckboxItemContext";
function useMenuCheckboxItemContext() {
  const context = React.useContext(MenuCheckboxItemContext);
  if (context === void 0) {
    throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: MenuCheckboxItemContext is missing. MenuCheckboxItem parts must be placed within <Menu.CheckboxItem>." : formatErrorMessage(30));
  }
  return context;
}
export {
  MenuCheckboxItemContext,
  useMenuCheckboxItemContext
};
//# sourceMappingURL=MenuCheckboxItemContext.js.map
