import { invariant as o } from "../../../../@react-dnd_invariant@4.0.2/node_modules/@react-dnd/invariant/dist/index.js";
function c(n) {
  o(typeof n.canDrag == "function", "Expected canDrag to be a function."), o(typeof n.beginDrag == "function", "Expected beginDrag to be a function."), o(typeof n.endDrag == "function", "Expected endDrag to be a function.");
}
function r(n) {
  o(typeof n.canDrop == "function", "Expected canDrop to be a function."), o(typeof n.hover == "function", "Expected hover to be a function."), o(typeof n.drop == "function", "Expected beginDrag to be a function.");
}
function a(n, t) {
  if (t && Array.isArray(n)) {
    n.forEach(
      (e) => a(e, !1)
    );
    return;
  }
  o(typeof n == "string" || typeof n == "symbol", t ? "Type can only be a string, a symbol, or an array of either." : "Type can only be a string or a symbol.");
}
export {
  c as validateSourceContract,
  r as validateTargetContract,
  a as validateType
};
//# sourceMappingURL=contracts.js.map
