import { __decorateMetadata } from "../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateMetadata.mjs";
import { __decorate } from "../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorate.mjs";
import { DidCommFeature } from "./DidCommFeature.mjs";
import { IsOptional, IsString } from "class-validator";

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

//#endregion
export { DidCommProtocol };
//# sourceMappingURL=DidCommProtocol.mjs.map