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 { PublicKey } from "../publicKey/PublicKey.mjs";
import { Authentication } from "./Authentication.mjs";
import { Transform } from "class-transformer";
import { IsString } from "class-validator";

//#region ../didcomm/src/modules/connections/models/did/authentication/ReferencedAuthentication.ts
var _ref;
var ReferencedAuthentication = class extends Authentication {
	constructor(publicKey, type) {
		super();
		this.publicKey = publicKey;
		this.type = type;
	}
};
__decorate([IsString(), __decorateMetadata("design:type", String)], ReferencedAuthentication.prototype, "type", void 0);
__decorate([Transform(({ value }) => value.id, { toPlainOnly: true }), __decorateMetadata("design:type", typeof (_ref = typeof PublicKey !== "undefined" && PublicKey) === "function" ? _ref : Object)], ReferencedAuthentication.prototype, "publicKey", void 0);

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