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