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