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