import formatErrorMessage from "../../../../utils/esm/formatErrorMessage.js";
import * as React from "react";
const ComboboxChipContext = /* @__PURE__ */ React.createContext(void 0);
if (process.env.NODE_ENV !== "production") ComboboxChipContext.displayName = "ComboboxChipContext";
function useComboboxChipContext() {
  const context = React.useContext(ComboboxChipContext);
  if (!context) {
    throw new Error(process.env.NODE_ENV !== "production" ? "useComboboxChipContext must be used within a ComboboxChip" : formatErrorMessage(17));
  }
  return context;
}
export {
  ComboboxChipContext,
  useComboboxChipContext
};
//# sourceMappingURL=ComboboxChipContext.js.map
