import { ClaimFormat } from "../models/ClaimFormat.mjs"; import { Jwt } from "../../../crypto/jose/jwt/Jwt.mjs"; import { W3cV2Presentation } from "../models/presentation/W3cV2Presentation.mjs"; import "../models/index.mjs"; //#region src/modules/vc/jwt-vc/W3cV2JwtVerifiablePresentation.d.ts interface W3cV2JwtVerifiablePresentationOptions { jwt: Jwt; } /** * Represents a Verifiable Presentation encoded as a JWT. * * @see https://www.w3.org/TR/vc-jose-cose/#securing-vps-with-jose */ declare class W3cV2JwtVerifiablePresentation { constructor(options: W3cV2JwtVerifiablePresentationOptions); static fromCompact(compact: string): W3cV2JwtVerifiablePresentation; /** * The original JWT. */ readonly jwt: Jwt; /** * 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 JWT credentials this is always `vp+jwt`. */ get claimFormat(): ClaimFormat.JwtW3cVp; /** * Validates the JWT and the resolved presentation. */ validate(): void; } //#endregion export { W3cV2JwtVerifiablePresentation, W3cV2JwtVerifiablePresentationOptions }; //# sourceMappingURL=W3cV2JwtVerifiablePresentation.d.mts.map