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 { IsValidMessageType, parseMessageType } from "../../../util/messageType.mjs";
import { DidCommMessage } from "../../../DidCommMessage.mjs";

//#region ../didcomm/src/modules/oob/messages/DidCommHandshakeReuseMessage.ts
var DidCommHandshakeReuseMessage = class DidCommHandshakeReuseMessage extends DidCommMessage {
	constructor(options) {
		super();
		this.type = DidCommHandshakeReuseMessage.type.messageTypeUri;
		if (options) {
			this.id = options.id ?? this.generateId();
			this.setThread({ parentThreadId: options.parentThreadId });
		}
	}
};
DidCommHandshakeReuseMessage.type = parseMessageType("https://didcomm.org/out-of-band/1.1/handshake-reuse");
__decorate([IsValidMessageType(DidCommHandshakeReuseMessage.type), __decorateMetadata("design:type", Object)], DidCommHandshakeReuseMessage.prototype, "type", void 0);

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