const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.js');
const require_index = require('../../../../../node_modules/.pnpm/class-validator@0.14.1/node_modules/class-validator/cjs/index.js');
const require_decorateMetadata = require('../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateMetadata.js');
const require_decorate = require('../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorate.js');
const require_DidCommFeature = require('./DidCommFeature.js');

//#region ../didcomm/src/models/features/DidCommProtocol.ts
var import_cjs = /* @__PURE__ */ require_rolldown_runtime.__toESM(require_index.require_cjs());
var DidCommProtocol = class DidCommProtocol extends require_DidCommFeature.DidCommFeature {
	constructor(props) {
		super({
			...props,
			type: DidCommProtocol.type
		});
		if (props) this.roles = props.roles;
	}
};
DidCommProtocol.type = "protocol";
require_decorate.__decorate([
	(0, import_cjs.IsString)({ each: true }),
	(0, import_cjs.IsOptional)(),
	require_decorateMetadata.__decorateMetadata("design:type", Array)
], DidCommProtocol.prototype, "roles", void 0);

//#endregion
exports.DidCommProtocol = DidCommProtocol;