text: "use strict";
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.default = void 0;
  
  var _schema = _interopRequireDefault(require("part:@sanity/base/schema"));
  
  var _versionedClient = require("../client/versionedClient");
  
  var _utils = require("./common/utils");
  
  var _createWeightedSearch = require("./weighted/createWeightedSearch");
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  
  var _default = (0, _createWeightedSearch.createWeightedSearch)((0, _utils.getSearchableTypes)(_schema.default), _versionedClient.versionedClient);
  
  exports.default = _default;