import { __require as v } from "./index.es243.js";
var b = v().version, f = {};
["object", "boolean", "number", "function", "string", "symbol"].forEach(function(e, t) {
  f[e] = function(i) {
    return typeof i === e || "a" + (t < 1 ? "n " : " ") + e;
  };
});
var s = {};
f.transitional = function(t, a, i) {
  function o(n, r) {
    return "[Axios v" + b + "] Transitional option '" + n + "'" + r + (i ? ". " + i : "");
  }
  return function(n, r, u) {
    if (t === !1)
      throw new Error(o(r, " has been removed" + (a ? " in " + a : "")));
    return a && !s[r] && (s[r] = !0, console.warn(
      o(
        r,
        " has been deprecated since v" + a + " and will be removed in the near future"
      )
    )), t ? t(n, r, u) : !0;
  };
};
function w(e, t, a) {
  if (typeof e != "object")
    throw new TypeError("options must be an object");
  for (var i = Object.keys(e), o = i.length; o-- > 0; ) {
    var n = i[o], r = t[n];
    if (r) {
      var u = e[n], c = u === void 0 || r(u, n, e);
      if (c !== !0)
        throw new TypeError("option " + n + " must be " + c);
      continue;
    }
    if (a !== !0)
      throw Error("Unknown option " + n);
  }
}
var l = {
  assertOptions: w,
  validators: f
};
export {
  l as v
};
//# sourceMappingURL=index.es271.js.map
