const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.js');
const require_container$1 = require('../container.js');

//#region ../../node_modules/.pnpm/class-validator@0.14.1/node_modules/class-validator/cjs/metadata/ConstraintMetadata.js
var require_ConstraintMetadata = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/class-validator@0.14.1/node_modules/class-validator/cjs/metadata/ConstraintMetadata.js": ((exports) => {
	Object.defineProperty(exports, "__esModule", { value: true });
	const container_1 = require_container$1.require_container();
	/**
	* This metadata interface contains information for custom validators.
	*/
	var ConstraintMetadata = class {
		constructor(target, name, async = false) {
			this.target = target;
			this.name = name;
			this.async = async;
		}
		/**
		* Instance of the target custom validation class which performs validation.
		*/
		get instance() {
			return (0, container_1.getFromContainer)(this.target);
		}
	};
	exports.ConstraintMetadata = ConstraintMetadata;
}) });

//#endregion
Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function () {
    return require_ConstraintMetadata();
  }
});