"use strict";

exports.__esModule = true;
exports.useMultiCollectionSupportContext = exports.MultiCollectionSupportProvider = exports.MultiCollectionSupportContext = exports.MultiCollectionSupportConsumer = void 0;
var _react = require("react");
var _createContext = require("../createContext");
const MultiCollectionSupportContext = exports.MultiCollectionSupportContext = /*#__PURE__*/(0, _react.createContext)(null);
const MultiCollectionSupportProvider = exports.MultiCollectionSupportProvider = MultiCollectionSupportContext.Provider;
const MultiCollectionSupportConsumer = exports.MultiCollectionSupportConsumer = MultiCollectionSupportContext.Consumer;
const useMultiCollectionSupportContext = () => {
  const value = (0, _react.useContext)(MultiCollectionSupportContext);
  (0, _createContext.assertContextValue)('MultiCollectionSupportProvider', value);
  return value;
};
exports.useMultiCollectionSupportContext = useMultiCollectionSupportContext;
//# sourceMappingURL=MultiCollectionSupportProvider.js.map