import type { EBSIVerifiablePresentation } from "@europeum-ebsi/vcdm2.0-presentation-schema"; import type { SupportedAlgs } from "@europeum-ebsi/verifiable-credential"; import type { Schemas as VcSchemas, TypeExtensions as VcTypeExtensions, VerifyCredentialOptions } from "@europeum-ebsi/verifiable-credential/vcdm20.js"; import type { RawAxiosRequestHeaders } from "axios"; import type { JsonWebKey } from "did-resolver"; import type { SetRequired } from "type-fest"; import type { ProofPurposeTypes } from "../shared/types.ts"; export interface CreateVerifiablePresentationJwtOptions extends CommonOptions { header?: Partial; payload?: Partial; 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 interface VpJwtClaims { aud?: string; exp?: number; iat?: number; iss?: string; jti?: string; nbf?: number; sub?: string; [x: string]: unknown; } export interface VpJwtHeader { alg: SupportedAlgs; cty?: "vp"; jwk?: JsonWebKey; kid: string; typ?: "vp+jwt"; [x: string]: unknown; } export type VpJwtPayload = SetRequired & VpJwtClaims; interface CommonOptions { axiosHeaders?: RawAxiosRequestHeaders; proofPurpose?: ProofPurposeTypes; skipHolderDidResolutionValidation?: boolean; timeout?: number; verifyCredentialOptions?: VerifyCredentialOptions; } export {}; //# sourceMappingURL=types.d.ts.map