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_messageType = require('../../../../../util/messageType.js');
const require_DidCommMessage = require('../../../../../DidCommMessage.js');

//#region ../didcomm/src/modules/discover-features/protocol/v1/messages/DidCommFeaturesQueryMessage.ts
var import_cjs = /* @__PURE__ */ require_rolldown_runtime.__toESM(require_index.require_cjs());
var DidCommFeaturesQueryMessage = class DidCommFeaturesQueryMessage extends require_DidCommMessage.DidCommMessage {
	constructor(options) {
		super();
		this.type = DidCommFeaturesQueryMessage.type.messageTypeUri;
		if (options) {
			this.id = options.id ?? this.generateId();
			this.query = options.query;
			this.comment = options.comment;
		}
	}
};
DidCommFeaturesQueryMessage.type = require_messageType.parseMessageType("https://didcomm.org/discover-features/1.0/query");
require_decorate.__decorate([require_messageType.IsValidMessageType(DidCommFeaturesQueryMessage.type), require_decorateMetadata.__decorateMetadata("design:type", Object)], DidCommFeaturesQueryMessage.prototype, "type", void 0);
require_decorate.__decorate([(0, import_cjs.IsString)(), require_decorateMetadata.__decorateMetadata("design:type", String)], DidCommFeaturesQueryMessage.prototype, "query", void 0);
require_decorate.__decorate([
	(0, import_cjs.IsString)(),
	(0, import_cjs.IsOptional)(),
	require_decorateMetadata.__decorateMetadata("design:type", String)
], DidCommFeaturesQueryMessage.prototype, "comment", void 0);

//#endregion
exports.DidCommFeaturesQueryMessage = DidCommFeaturesQueryMessage;