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/DidCommHandshakeReuseAcceptedMessage.ts
var DidCommHandshakeReuseAcceptedMessage = class DidCommHandshakeReuseAcceptedMessage extends DidCommMessage {
	constructor(options) {
		super();
		this.type = DidCommHandshakeReuseAcceptedMessage.type.messageTypeUri;
		if (options) {
			this.id = options.id ?? this.generateId();
			this.setThread({
				threadId: options.threadId,
				parentThreadId: options.parentThreadId
			});
		}
	}
};
DidCommHandshakeReuseAcceptedMessage.type = parseMessageType("https://didcomm.org/out-of-band/1.1/handshake-reuse-accepted");
__decorate([IsValidMessageType(DidCommHandshakeReuseAcceptedMessage.type), __decorateMetadata("design:type", Object)], DidCommHandshakeReuseAcceptedMessage.prototype, "type", void 0);

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