import { ClaimFormat } from "../models/ClaimFormat.mjs"; import { W3cV2SdJwt } from "./W3cV2SdJwt.mjs"; import { W3cV2Presentation } from "../models/presentation/W3cV2Presentation.mjs"; import "../models/index.mjs"; //#region src/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiablePresentation.d.ts interface W3cV2SdJwtVerifiablePresentationOptions { sdJwt: W3cV2SdJwt; } /** * Represents a Verifiable Presentation encoded as a SD-JWT. * * @see https://www.w3.org/TR/vc-jose-cose/#securing-vps-sd-jwt */ declare class W3cV2SdJwtVerifiablePresentation { constructor(options: W3cV2SdJwtVerifiablePresentationOptions); static fromCompact(compact: string): W3cV2SdJwtVerifiablePresentation; /** * The original SD-JWT. */ readonly sdJwt: W3cV2SdJwt; /** * Resolved presentation is the fully resolved {@link W3cV2Presentation} instance. */ readonly resolvedPresentation: W3cV2Presentation; /** * The encoded version of this presentation. */ get encoded(): string; /** * The {@link ClaimFormat} of the presentation. * * For W3C VP SD-JWT credentials this is always `vp+sd-jwt`. */ get claimFormat(): ClaimFormat.SdJwtW3cVp; /** * Validates the SD-JWT and the resolved presentation. */ validate(): void; } //#endregion export { W3cV2SdJwtVerifiablePresentation, W3cV2SdJwtVerifiablePresentationOptions }; //# sourceMappingURL=W3cV2SdJwtVerifiablePresentation.d.mts.map