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 { DidCommJsonLdCredentialDetailOptions } from "./DidCommJsonLdCredentialDetailOptions.mjs";
import { W3cCredential } from "@credo-ts/core";
import { Expose, Type } from "class-transformer";

//#region ../didcomm/src/modules/credentials/formats/jsonld/DidCommJsonLdCredentialDetail.ts
var _ref, _ref2;
/**
* Class providing validation for the V2 json ld credential as per RFC0593 (used to sign credentials)
*
*/
var DidCommJsonLdCredentialDetail = class {
	constructor(options) {
		if (options) {
			this.credential = options.credential;
			this.options = options.options;
		}
	}
};
__decorate([Type(() => W3cCredential), __decorateMetadata("design:type", typeof (_ref = typeof W3cCredential !== "undefined" && W3cCredential) === "function" ? _ref : Object)], DidCommJsonLdCredentialDetail.prototype, "credential", void 0);
__decorate([
	Expose({ name: "options" }),
	Type(() => DidCommJsonLdCredentialDetailOptions),
	__decorateMetadata("design:type", typeof (_ref2 = typeof DidCommJsonLdCredentialDetailOptions !== "undefined" && DidCommJsonLdCredentialDetailOptions) === "function" ? _ref2 : Object)
], DidCommJsonLdCredentialDetail.prototype, "options", void 0);

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