import type { JWTHeader, JWTPayload } from "@europeum-ebsi/did-jwt"; import type { EBSIVerifiablePresentation } from "@europeum-ebsi/vcdm1.1-presentation-schema"; import type { Schemas as VcSchemas, TypeExtensions as VcTypeExtensions, VerifyCredentialOptions } from "@europeum-ebsi/verifiable-credential/vcdm11.js"; import type { RawAxiosRequestHeaders } from "axios"; import type { JsonWebKey } from "did-resolver"; import type { ProofPurposeTypes } from "../shared/types.ts"; export interface CreateVerifiablePresentationJwtOptions extends CommonOptions { exp?: number | undefined; header?: Partial; nbf?: number | undefined; nonce?: string | undefined; skipValidation?: boolean; } export interface Schemas extends VcSchemas { Presentation: EBSIVerifiablePresentation; } export type TypeExtensions = VcTypeExtensions; export interface VerifyPresentationJwtOptions extends CommonOptions { clockSkew?: number; skipSignatureValidation?: boolean; validAt?: number; } export type VpJwtHeader = JWTHeader & { alg: "EdDSA" | "ES256" | "ES256K"; jwk?: JsonWebKey; kid: string; typ: "JWT"; }; export interface VpJwtPayload extends JWTPayload { iat: number; iss: string; jti: string; sub: string; vp: Schemas["Presentation"]; } interface CommonOptions { axiosHeaders?: RawAxiosRequestHeaders; proofPurpose?: ProofPurposeTypes; skipHolderDidResolutionValidation?: boolean; timeout?: number; verifyCredentialOptions?: VerifyCredentialOptions; } export {}; //# sourceMappingURL=types.d.ts.map