import { Cache } from "./modules/cache/Cache.js";
import { Metadata, MetadataBase } from "./storage/Metadata.js";
import { BaseRecord, BaseRecordAny, RecordTags, TagValue, Tags, TagsBase } from "./storage/BaseRecord.js";
import { Constructable, Constructor, UnionToIntersection } from "./utils/mixins.js";
import { BaseRecordConstructor, Query, QueryOptions, SimpleQuery, StorageService } from "./storage/StorageService.js";
import { CachedStorageService } from "./modules/cache/CachedStorageService.js";
import { CacheModuleConfig } from "./modules/cache/CacheModuleConfig.js";
import { CacheModule, CacheModuleOptions } from "./modules/cache/CacheModule.js";
import { InMemoryLruCache, InMemoryLruCacheOptions } from "./modules/cache/InMemoryLruCache.js";
import { SingleContextLruCacheItem, SingleContextLruCacheRecord } from "./modules/cache/singleContextLruCache/SingleContextLruCacheRecord.js";
import { SingleContextStorageLruCache, SingleContextStorageLruCacheOptions } from "./modules/cache/singleContextLruCache/SingleContextStorageLruCache.js";
import { DcqlModule } from "./modules/dcql/DcqlModule.js";
import { CredoError } from "./error/CredoError.js";
import { ClassValidationError } from "./error/ClassValidationError.js";
import { RecordDuplicateError } from "./error/RecordDuplicateError.js";
import { RecordNotFoundError } from "./error/RecordNotFoundError.js";
import { ZodValidationError } from "./error/ZodValidationError.js";
import { LogLevel, Logger } from "./logger/Logger.js";
import { BaseLogger } from "./logger/BaseLogger.js";
import { ConsoleLogger } from "./logger/ConsoleLogger.js";
import { replaceError } from "./logger/replaceError.js";
import { AnyUint8Array, CanBePromise, InitConfig, JsonArray, JsonObject, JsonValue, NonEmptyArray, Optional, ResolvedDidCommService, SingleOrArray, Uint8ArrayBuffer, XOR, isJsonObject, isNonEmptyArray, mapNonEmptyArray } from "./types.js";
import { HashName, Hasher } from "./crypto/hashes/Hasher.js";
import { Sha1 } from "./crypto/hashes/Sha1.js";
import { Sha256 } from "./crypto/hashes/Sha256.js";
import { Sha384 } from "./crypto/hashes/Sha384.js";
import { Sha512 } from "./crypto/hashes/Sha512.js";
import { KeyGenAlgorithm, KeySignParams } from "./crypto/webcrypto/types.js";
import { CredoWebCryptoKey } from "./crypto/webcrypto/CredoWebCryptoKey.js";
import { CredoWebCrypto } from "./crypto/webcrypto/CredoWebCrypto.js";
import { publicJwkToCryptoKeyAlgorithm } from "./crypto/webcrypto/utils/keyAlgorithmConversion.js";
import { EncodedX509Certificate, X509CertificateExtensionsOptions, X509CertificateIssuerAndSubjectOptions, X509CreateCertificateChainOptions, X509CreateCertificateOptions, X509GetLeafCertificateOptions, X509ParseCertificateOptions, X509ValidateCertificateChainOptions } from "./modules/x509/X509ServiceOptions.js";
import { X509Certificate, X509CertificateOptions, X509ExtendedKeyUsage, X509KeyUsage } from "./modules/x509/X509Certificate.js";
import { extractX509CertificatesFromJwt } from "./modules/x509/extraction.js";
import { createAuthorityKeyIdentifierExtension, createBasicConstraintsExtension, createCrlDistributionPointsExtension, createExtendedKeyUsagesExtension, createIssuerAlternativeNameExtension, createKeyUsagesExtension, createSubjectAlternativeNameExtension, createSubjectKeyIdentifierExtension } from "./modules/x509/utils/extensions.js";
import { convertName } from "./modules/x509/utils/nameConversion.js";
import { CREDENTIALS_CONTEXT_V1_URL, CREDENTIALS_CONTEXT_V2_URL, CREDENTIALS_ISSUER_URL, DID_V1_CONTEXT_URL, ENVELOPED_VERIFIABLE_CREDENTIAL_TYPE, ENVELOPED_VERIFIABLE_PRESENTATION_TYPE, EXPANDED_TYPE_CREDENTIALS_CONTEXT_V1_VC_TYPE, SECURITY_CONTEXT_SECP256k1_URL, SECURITY_CONTEXT_URL, SECURITY_CONTEXT_V1_URL, SECURITY_CONTEXT_V2_URL, SECURITY_CONTEXT_V3_URL, SECURITY_JWS_CONTEXT_URL, SECURITY_PROOF_URL, SECURITY_SIGNATURE_URL, SECURITY_X25519_CONTEXT_URL, VERIFIABLE_CREDENTIAL_TYPE, VERIFIABLE_PRESENTATION_TYPE } from "./modules/vc/constants.js";
import { ClaimFormat } from "./modules/vc/models/ClaimFormat.js";
import { W3cCredentialSchema, W3cCredentialSchemaOptions } from "./modules/vc/models/credential/W3cCredentialSchema.js";
import { W3cCredentialStatus, W3cCredentialStatusOptions } from "./modules/vc/models/credential/W3cCredentialStatus.js";
import { IsW3cCredentialSubject, W3cCredentialSubject, W3cCredentialSubjectOptions, W3cCredentialSubjectTransformer } from "./modules/vc/models/credential/W3cCredentialSubject.js";
import { IsW3cIssuer, W3cIssuer, W3cIssuerOptions, W3cIssuerTransformer } from "./modules/vc/models/credential/W3cIssuer.js";
import { W3cCredential, W3cCredentialOptions } from "./modules/vc/models/credential/W3cCredential.js";
import { W3cJsonCredential } from "./modules/vc/models/credential/W3cJsonCredential.js";
import { DataIntegrityProof, DataIntegrityProofOptions } from "./modules/vc/data-integrity/models/DataIntegrityProof.js";
import { W3cJsonLdVerifiableCredential, W3cJsonLdVerifiableCredentialOptions } from "./modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.js";
import { W3cJsonLdDeriveProofOptions, deriveProof } from "./modules/vc/data-integrity/deriveProof.js";
import { DocumentLoader, Proof } from "./modules/vc/data-integrity/jsonldUtil.js";
import { vcLibraries } from "./modules/vc/data-integrity/libraries/index.js";
import { DifPresentationExchangeError } from "./modules/dif-presentation-exchange/DifPresentationExchangeError.js";
import { DifPresentationExchangeModule } from "./modules/dif-presentation-exchange/DifPresentationExchangeModule.js";
import { CredentialMultiInstanceState, CredentialMultiInstanceUseMode } from "./utils/credentialUseTypes.js";
import { IDisclosureFrame, IPresentationFrame, SdJwtVcHeader, SdJwtVcHolderBinding, SdJwtVcHolderDidBinding, SdJwtVcHolderJwkBinding, SdJwtVcIssuer, SdJwtVcIssuerDid, SdJwtVcIssuerX5c, SdJwtVcPayload, SdJwtVcPresentOptions, SdJwtVcSignOptions, SdJwtVcStoreOptions, SdJwtVcVerifyOptions } from "./modules/sd-jwt-vc/SdJwtVcOptions.js";
import { SdJwtVcTypeMetadata, SdJwtVcTypeMetadataClaim, SdJwtVcTypeMetadataDisplay, SdJwtVcTypeMetadataRenderingMethodSimple, SdJwtVcTypeMetadataRenderingMethodSvgTemplate } from "./modules/sd-jwt-vc/typeMetadata.js";
import { SdJwtVc, SdJwtVcService, VerificationResult } from "./modules/sd-jwt-vc/SdJwtVcService.js";
import { DefaultSdJwtVcRecordTags, SdJwtVcRecord, SdJwtVcRecordInstances, SdJwtVcRecordStorageProps } from "./modules/sd-jwt-vc/repository/SdJwtVcRecord.js";
import { Buffer } from "./utils/buffer.js";
import { DownloadToFileOptions, FileSystem } from "./storage/FileSystem.js";
import { AgentDependencies } from "./agent/AgentDependencies.js";
import { BaseEvent, EventMetadata, filterContextCorrelationId } from "./agent/Events.js";
import { EventEmitter } from "./agent/EventEmitter.js";
import { Repository } from "./storage/Repository.js";
import { SdJwtVcRepository } from "./modules/sd-jwt-vc/repository/SdJwtVcRepository.js";
import { SdJwtVcApi } from "./modules/sd-jwt-vc/SdJwtVcApi.js";
import { SdJwtVcError } from "./modules/sd-jwt-vc/SdJwtVcError.js";
import { SdJwtVcModule } from "./modules/sd-jwt-vc/SdJwtVcModule.js";
import { DefaultMdocRecordTags, MdocRecord, MdocRecordInstances, MdocRecordStorageProps } from "./modules/mdoc/repository/MdocRecord.js";
import { MdocRepository } from "./modules/mdoc/repository/MdocRepository.js";
import { MdocDeviceResponseOptions, MdocDeviceResponsePresentationDefinitionOptions, MdocDeviceResponseVerifyOptions, MdocDocumentRequest, MdocNameSpaces, MdocOpenId4VpDcApiDraft24SessionTranscriptOptions, MdocOpenId4VpDcApiSessionTranscriptOptions, MdocOpenId4VpDraft18SessionTranscriptOptions, MdocOpenId4VpSessionTranscriptOptions, MdocSessionTranscriptByteOptions, MdocSessionTranscriptOptions, MdocSignOptions, MdocStoreOptions, MdocVerifyOptions } from "./modules/mdoc/MdocOptions.js";
import { MdocService } from "./modules/mdoc/MdocService.js";
import { MdocApi } from "./modules/mdoc/MdocApi.js";
import { MdocDeviceResponse } from "./modules/mdoc/MdocDeviceResponse.js";
import { MdocError } from "./modules/mdoc/MdocError.js";
import { MdocModule } from "./modules/mdoc/MdocModule.js";
import { MdocSupportedSignatureAlgorithm, isMdocSupportedSignatureAlgorithm } from "./modules/mdoc/mdocSupportedAlgs.js";
import { DateOnly } from "./modules/mdoc/index.js";
import { DifPexCredentialsForRequest, DifPexCredentialsForRequestRequirement, DifPexCredentialsForRequestSubmissionEntry, DifPexInputDescriptorToCredentials, SubmissionEntryCredential } from "./modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.js";
import { W3cV2CredentialSchema, W3cV2CredentialSchemaOptions } from "./modules/vc/models/credential/W3cV2CredentialSchema.js";
import { W3cV2CredentialStatus, W3cV2CredentialStatusOptions } from "./modules/vc/models/credential/W3cV2CredentialStatus.js";
import { W3cV2CredentialSubject, W3cV2CredentialSubjectOptions } from "./modules/vc/models/credential/W3cV2CredentialSubject.js";
import { W3cV2Evidence, W3cV2EvidenceOptions } from "./modules/vc/models/credential/W3cV2Evidence.js";
import { IsW3cV2Issuer, W3cV2Issuer, W3cV2IssuerOptions, W3cV2IssuerTransformer } from "./modules/vc/models/credential/W3cV2Issuer.js";
import { W3cV2JsonCredential, W3cV2JsonLocalizedValue } from "./modules/vc/models/credential/W3cV2JsonCredential.js";
import { W3cV2LocalizedValue, W3cV2LocalizedValueOptions, W3cV2LocalizedValueTransformer } from "./modules/vc/models/credential/W3cV2LocalizedValue.js";
import { W3cV2RefreshService, W3cV2RefreshServiceOptions } from "./modules/vc/models/credential/W3cV2RefreshService.js";
import { W3cV2TermsOfUse, W3cV2TermsOfUseOptions } from "./modules/vc/models/credential/W3cV2TermsOfUse.js";
import { W3cV2Credential, W3cV2CredentialOptions } from "./modules/vc/models/credential/W3cV2Credential.js";
import { asArray } from "./utils/array.js";
import { deepEquality, equalsIgnoreOrder, equalsWithOrder } from "./utils/deepEquality.js";
import { indyDidFromPublicKeyBase58, isDid } from "./utils/did.js";
import { JsonEncoder } from "./utils/JsonEncoder.js";
import { JsonTransformer } from "./utils/JsonTransformer.js";
import { MessageValidator } from "./utils/MessageValidator.js";
import { BaseName, MultiBaseEncoder } from "./utils/MultiBaseEncoder.js";
import { MultiHashEncoder } from "./utils/MultiHashEncoder.js";
import { areObjectsEqual } from "./utils/objectEquality.js";
import { TypedArrayEncoder } from "./utils/TypedArrayEncoder.js";
import { addSecondsToDate, dateToSeconds, nowInSeconds, timestamp } from "./utils/timestamp.js";
import { DateTransformer, IsStringOrStringArray } from "./utils/transformers.js";
import { IsStringOrInstance, IsStringOrInstanceOrArrayOfInstances, IsUri } from "./utils/validators.js";
import { JwtPayload, JwtPayloadJson, JwtPayloadOptions } from "./crypto/jose/jwt/JwtPayload.js";
import { Jwt } from "./crypto/jose/jwt/Jwt.js";
import { W3cV2JwtVerifiableCredential, W3cV2JwtVerifiableCredentialOptions } from "./modules/vc/jwt-vc/W3cV2JwtVerifiableCredential.js";
import { W3cV2SdJwt, W3cV2SdJwtHeader, W3cV2SdJwtPayload, decodeSdJwt, sdJwtVcHasher } from "./modules/vc/sd-jwt-vc/W3cV2SdJwt.js";
import { W3cV2SdJwtVerifiableCredential, W3cV2SdJwtVerifiableCredentialOptions } from "./modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiableCredential.js";
import { IsEnvelopedVerifiableCredentialType, W3cV2EnvelopedVerifiableCredential, W3cV2EnvelopedVerifiableCredentialOptions, W3cV2EnvelopedVerifiableCredentialTransformer } from "./modules/vc/models/credential/W3cV2EnvelopedVerifiableCredential.js";
import { CustomW3cCredentialTags, DefaultW3cCredentialTags, W3cCredentialRecord, W3cCredentialRecordInstances, W3cCredentialRecordOptions } from "./modules/vc/repository/W3cCredentialRecord.js";
import { W3cCredentialRepository } from "./modules/vc/repository/W3cCredentialRepository.js";
import { DefaultW3cV2CredentialTags, W3cV2CredentialRecord, W3cV2CredentialRecordInstances, W3cV2CredentialRecordOptions } from "./modules/vc/repository/W3cV2CredentialRecord.js";
import { W3cV2CredentialRepository } from "./modules/vc/repository/W3cV2CredentialRepository.js";
import { W3cV2JwtSignCredentialOptions, W3cV2JwtSignPresentationOptions, W3cV2JwtVerifyCredentialOptions, W3cV2JwtVerifyPresentationOptions, W3cV2SdJwtSignCredentialOptions, W3cV2SdJwtSignPresentationOptions, W3cV2SdJwtVcPresentOptions, W3cV2SdJwtVerifyCredentialOptions, W3cV2SdJwtVerifyPresentationOptions, W3cV2SignCredentialOptions, W3cV2SignPresentationOptions, W3cV2StoreCredentialOptions, W3cV2VerifyCredentialOptions, W3cV2VerifyPresentationOptions } from "./modules/vc/W3cV2CredentialServiceOptions.js";
import { W3cV2JsonPresentation } from "./modules/vc/models/presentation/W3cV2JsonPresentation.js";
import { W3cV2Presentation, W3cV2PresentationOptions } from "./modules/vc/models/presentation/W3cV2Presentation.js";
import { W3cV2SdJwtVerifiablePresentation, W3cV2SdJwtVerifiablePresentationOptions } from "./modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiablePresentation.js";
import { W3cV2SdJwtCredentialService } from "./modules/vc/sd-jwt-vc/W3cV2SdJwtCredentialService.js";
import { W3cV2VerifiableCredential, W3cV2VerifiableCredentialOptions, W3cV2VerifiableCredentialTransformer } from "./modules/vc/models/credential/W3cV2VerifiableCredential.js";
import { W3cJwtVerifiableCredential, W3cJwtVerifiableCredentialOptions } from "./modules/vc/jwt-vc/W3cJwtVerifiableCredential.js";
import { W3cVerifiableCredential, W3cVerifiableCredentialTransformer } from "./modules/vc/models/credential/W3cVerifiableCredential.js";
import { W3cJsonPresentation } from "./modules/vc/models/presentation/W3cJsonPresentation.js";
import { W3cPresentation, W3cPresentationOptions } from "./modules/vc/models/presentation/W3cPresentation.js";
import { IsEnvelopedVerifiablePresentationType, W3cV2EnvelopedVerifiablePresentation, W3cV2EnvelopedVerifiablePresentationOptions } from "./modules/vc/models/presentation/W3cV2EnvelopedVerifiablePresentation.js";
import { W3cVerifiablePresentation } from "./modules/vc/models/presentation/W3cVerifiablePresentation.js";
import { SingleValidationResult, W3cVerifyCredentialResult, W3cVerifyPresentationResult } from "./modules/vc/models/W3cVerifyResult.js";
import { W3cV2VerifyCredentialResult, W3cV2VerifyPresentationResult } from "./modules/vc/models/W3cV2VerifyResult.js";
import { W3cJwtVerifiablePresentation, W3cJwtVerifiablePresentationOptions } from "./modules/vc/jwt-vc/W3cJwtVerifiablePresentation.js";
import { W3cCreatePresentationOptions, W3cJsonLdSignCredentialOptions, W3cJsonLdSignPresentationOptions, W3cJsonLdVerifyCredentialOptions, W3cJsonLdVerifyPresentationOptions, W3cJwtSignCredentialOptions, W3cJwtSignPresentationOptions, W3cJwtVerifyCredentialOptions, W3cJwtVerifyPresentationOptions, W3cSignCredentialOptions, W3cSignPresentationOptions, W3cStoreCredentialOptions, W3cVerifyCredentialOptions, W3cVerifyPresentationOptions } from "./modules/vc/W3cCredentialServiceOptions.js";
import { W3cJwtCredentialService } from "./modules/vc/jwt-vc/W3cJwtCredentialService.js";
import { W3cV2JwtVerifiablePresentation, W3cV2JwtVerifiablePresentationOptions } from "./modules/vc/jwt-vc/W3cV2JwtVerifiablePresentation.js";
import { W3cV2JwtCredentialService } from "./modules/vc/jwt-vc/W3cV2JwtCredentialService.js";
import { DifPresentationExchangeDefinition, DifPresentationExchangeDefinitionV1, DifPresentationExchangeDefinitionV2, DifPresentationExchangeSubmission, PresentationSubmissionLocation, VerifiableCredential, VerifiablePresentation } from "./modules/dif-presentation-exchange/models/index.js";
import { DifPresentationExchangeService } from "./modules/dif-presentation-exchange/DifPresentationExchangeService.js";
import { DifPexPresentationWithDescriptor, extractPresentationsWithDescriptorsFromSubmission } from "./modules/dif-presentation-exchange/utils/presentationSelection.js";
import { W3cJsonLdVerifiablePresentation, W3cJsonLdVerifiablePresentationOptions } from "./modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.js";
import { ANONCREDS_DATA_INTEGRITY_CRYPTOSUITE, AnonCredsDataIntegrityServiceSymbol, AnoncredsDataIntegrityCreatePresentation, AnoncredsDataIntegrityVerifyPresentation, IAnonCredsDataIntegrityService } from "./modules/vc/data-integrity/models/IAnonCredsDataIntegrityService.js";
import { LdKeyPair, LdKeyPairOptions } from "./modules/vc/data-integrity/models/LdKeyPair.js";
import { CredentialIssuancePurpose } from "./modules/vc/data-integrity/proof-purposes/CredentialIssuancePurpose.js";
import { ProofPurpose } from "./modules/vc/data-integrity/proof-purposes/ProofPurpose.js";
import { SignatureSuiteRegistry, SignatureSuiteToken, SuiteInfo } from "./modules/vc/data-integrity/SignatureSuiteRegistry.js";
import { JwsLinkedDataSignature, JwsLinkedDataSignatureOptions } from "./modules/vc/data-integrity/signature-suites/JwsLinkedDataSignature.js";
import { Ed25519Signature2018 } from "./modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.js";
import { Ed25519Signature2020 } from "./modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2020.js";
import { W3cCredentialsModuleConfig, W3cCredentialsModuleConfigOptions } from "./modules/vc/W3cCredentialsModuleConfig.js";
import { W3cJsonLdCredentialService } from "./modules/vc/data-integrity/W3cJsonLdCredentialService.js";
import { w3cDate } from "./modules/vc/util.js";
import { W3cCredentialService } from "./modules/vc/W3cCredentialService.js";
import { W3cCredentialsApi } from "./modules/vc/W3cCredentialsApi.js";
import { W3cCredentialsModule } from "./modules/vc/W3cCredentialsModule.js";
import { W3cV2CredentialService } from "./modules/vc/W3cV2CredentialService.js";
import { W3cV2CredentialsApi } from "./modules/vc/W3cV2CredentialsApi.js";
import { W3cV2CredentialsModule } from "./modules/vc/W3cV2CredentialsModule.js";
import { Mdoc } from "./modules/mdoc/Mdoc.js";
import { X509ModuleConfig, X509ModuleConfigOptions, X509VerificationContext, X509VerificationTypeCredential, X509VerificationTypeOauth2ClientAttestation, X509VerificationTypeOauth2SecuredAuthorizationRequest, X509VerificationTypeOpenId4VciCredentialIssuerMetadata, X509VerificationTypeOpenId4VciKeyAttestation } from "./modules/x509/X509ModuleConfig.js";
import { X509Api } from "./modules/x509/X509Api.js";
import { X509Error } from "./modules/x509/X509Error.js";
import { X509Module } from "./modules/x509/X509Module.js";
import { X509Service } from "./modules/x509/X509Service.js";
import { JwsSigner, JwsSignerDid, JwsSignerJwk, JwsSignerWithJwk, JwsSignerX5c } from "./crypto/JwsSigner.js";
import { JwsDetachedFormat, JwsFlattenedDetachedFormat, JwsGeneralFormat, JwsProtectedHeaderOptions } from "./crypto/JwsTypes.js";
import { JwsService } from "./crypto/JwsService.js";
import { index_d_exports } from "./modules/kms/index.js";
import { DidDocumentService } from "./modules/dids/domain/service/DidDocumentService.js";
import { DidCommV1Service } from "./modules/dids/domain/service/DidCommV1Service.js";
import { DidCommV2Service, DidCommV2ServiceEndpoint, DidCommV2ServiceEndpointOptions } from "./modules/dids/domain/service/DidCommV2Service.js";
import { IndyAgentService } from "./modules/dids/domain/service/IndyAgentService.js";
import { ServiceTransformer, serviceTypes } from "./modules/dids/domain/service/ServiceTransformer.js";
import { LegacyDidCommV2Service, LegacyDidCommV2ServiceOptions } from "./modules/dids/domain/service/LegacyDidCommV2Service.js";
import { VerificationMethod } from "./modules/dids/domain/verificationMethod/VerificationMethod.js";
import { VERIFICATION_METHOD_TYPE_ECDSA_SECP256K1_VERIFICATION_KEY_2019, getEcdsaSecp256k1VerificationKey2019, getPublicJwkFromEcdsaSecp256k1VerificationKey2019, isEcdsaSecp256k1VerificationKey2019 } from "./modules/dids/domain/verificationMethod/EcdsaSecp256k1VerificationKey2019.js";
import { VERIFICATION_METHOD_TYPE_ED25519_VERIFICATION_KEY_2018, getEd25519VerificationKey2018, getPublicJwkFromEd25519VerificationKey2018, isEd25519VerificationKey2018 } from "./modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.js";
import { VERIFICATION_METHOD_TYPE_ED25519_VERIFICATION_KEY_2020, getEd25519VerificationKey2020, getPublicJwkFromEd25519VerificationKey2020, isEd25519VerificationKey2020 } from "./modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.js";
import { VERIFICATION_METHOD_TYPE_JSON_WEB_KEY_2020, getJsonWebKey2020, getPublicJwkFromJsonWebKey2020, isJsonWebKey2020 } from "./modules/dids/domain/verificationMethod/JsonWebKey2020.js";
import { VERIFICATION_METHOD_TYPE_MULTIKEY, getMultikey, getPublicJwkFromMultikey, isMultikey } from "./modules/dids/domain/verificationMethod/Multikey.js";
import { IsStringOrVerificationMethod, VerificationMethodTransformer } from "./modules/dids/domain/verificationMethod/VerificationMethodTransformer.js";
import { VERIFICATION_METHOD_TYPE_X25519_KEY_AGREEMENT_KEY_2019, getPublicJwkFrommX25519KeyAgreementKey2019, getX25519KeyAgreementKey2019, isX25519KeyAgreementKey2019 } from "./modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.js";
import { DidDocument, DidPurpose, findVerificationMethodByKeyType } from "./modules/dids/domain/DidDocument.js";
import { DidDocumentBuilder } from "./modules/dids/domain/DidDocumentBuilder.js";
import { DidDocumentRole } from "./modules/dids/domain/DidDocumentRole.js";
import { DidRegistrar } from "./modules/dids/domain/DidRegistrar.js";
import { DidResolver } from "./modules/dids/domain/DidResolver.js";
import { DidDocumentKey, ImportDidOptions } from "./modules/dids/DidsApiOptions.js";
import { getKmsKeyIdForVerifiacationMethod } from "./modules/dids/domain/didDocumentKey.js";
import { getPublicJwkFromVerificationMethod } from "./modules/dids/domain/key-type/keyDidMapping.js";
import { convertPublicKeyToX25519, keyDidEd25519 } from "./modules/dids/domain/key-type/ed25519.js";
import { keyDidX25519 } from "./modules/dids/domain/key-type/x25519.js";
import { parseDid, tryParseDid } from "./modules/dids/domain/parse.js";
import { DidCreateOptions, DidCreateResult, DidDeactivateOptions, DidDeactivateResult, DidDocumentMetadata, DidDocumentOperation, DidOperationStateActionBase, DidOperationStateFailed, DidOperationStateFinished, DidOperationStateWait, DidRegistrationExtraOptions, DidRegistrationMetadata, DidRegistrationSecretOptions, DidResolutionMetadata, DidResolutionOptions, DidResolutionResult, DidUpdateOptions, DidUpdateResult, ParsedDid } from "./modules/dids/types.js";
import { DidsModuleConfig, DidsModuleConfigOptions } from "./modules/dids/DidsModuleConfig.js";
import { DidRecordMetadataKeys } from "./modules/dids/repository/didRecordMetadataTypes.js";
import { CustomDidTags, DidRecord, DidRecordProps } from "./modules/dids/repository/DidRecord.js";
import { DidRepository } from "./modules/dids/repository/DidRepository.js";
import { DidResolverService } from "./modules/dids/services/DidResolverService.js";
import { DidRegistrarService } from "./modules/dids/services/DidRegistrarService.js";
import { DidsApi } from "./modules/dids/DidsApi.js";
import { DidsModule } from "./modules/dids/DidsModule.js";
import { findMatchingEd25519Key } from "./modules/dids/findMatchingEd25519Key.js";
import { DidJwk } from "./modules/dids/methods/jwk/DidJwk.js";
import { JwkDidCreateOptions, JwkDidDeactivateOptions, JwkDidRegistrar, JwkDidUpdateOptions } from "./modules/dids/methods/jwk/JwkDidRegistrar.js";
import { JwkDidResolver } from "./modules/dids/methods/jwk/JwkDidResolver.js";
import { DidKey } from "./modules/dids/methods/key/DidKey.js";
import { KeyDidCreateOptions, KeyDidDeactivateOptions, KeyDidRegistrar, KeyDidUpdateOptions } from "./modules/dids/methods/key/KeyDidRegistrar.js";
import { KeyDidResolver } from "./modules/dids/methods/key/KeyDidResolver.js";
import { createPeerDidDocumentFromServices } from "./modules/dids/methods/peer/createPeerDidDocumentFromServices.js";
import { PeerDidNumAlgo, getAlternativeDidsForPeerDid, getNumAlgoFromPeerDid, isValidPeerDid } from "./modules/dids/methods/peer/didPeer.js";
import { PeerDidCreateOptions, PeerDidDeactivateOptions, PeerDidNumAlgo0CreateOptions, PeerDidNumAlgo1CreateOptions, PeerDidNumAlgo2CreateOptions, PeerDidNumAlgo4CreateOptions, PeerDidRegistrar, PeerDidUpdateOptions } from "./modules/dids/methods/peer/PeerDidRegistrar.js";
import { PeerDidResolver } from "./modules/dids/methods/peer/PeerDidResolver.js";
import { WebDidResolver } from "./modules/dids/methods/web/WebDidResolver.js";
import { GenericRecord, GenericRecordStorageProps, GenericRecordTags, SaveGenericRecordOption } from "./modules/generic-records/repository/GenericRecord.js";
import { ContentType, GenericRecordsApi } from "./modules/generic-records/GenericRecordsApi.js";
import { GenericRecordsModule } from "./modules/generic-records/GenericRecordsModule.js";
import { AgentApi, DefaultAgentModules, EmptyModuleMap, ModulesMap } from "./agent/AgentModules.js";
import { DependencyManager, InjectionToken } from "./plugins/DependencyManager.js";
import { AgentConfig } from "./agent/AgentConfig.js";
import { BaseAgent } from "./agent/BaseAgent.js";
import { VersionString } from "./utils/version.js";
import { Update, UpdateConfig, V0_1ToV0_2UpdateConfig } from "./storage/migration/updates.js";
import { ApiModule, Module } from "./plugins/Module.js";
import { getApiForModuleByName, getRegisteredModuleByInstance, getRegisteredModuleByName } from "./plugins/utils.js";
import { inject, injectAll, injectable } from "./plugins/index.js";
import { AgentContext } from "./agent/context/AgentContext.js";
import { AgentContextProvider } from "./agent/context/AgentContextProvider.js";
import { DefaultAgentContextProvider } from "./agent/context/DefaultAgentContextProvider.js";
import { Agent } from "./agent/Agent.js";
import { InjectionSymbols } from "./constants.js";
import { DcqlError } from "./modules/dcql/DcqlError.js";
import { DcqlCredentialsForRequest } from "./modules/dcql/models/DcqlCredentialsForRequest.js";
import { DcqlCredential, DcqlEncodedPresentations, DcqlEncodedPresentationsEntry, DcqlFailedCredential, DcqlMatchWithRecord, DcqlMdocCredential, DcqlPresentation, DcqlPresentationResult, DcqlQuery, DcqlQueryResult, DcqlSdJwtVcCredential, DcqlValidCredential, DcqlW3cVcCredential } from "./modules/dcql/models/index.js";
import { DcqlSelectCredentialsForRequestOptions, DcqlService } from "./modules/dcql/DcqlService.js";
import { DcqlJwtVpPresentationToCreate, DcqlJwtW3cVpPresentationToCreate, DcqlLdpVpPresentationToCreate, DcqlMdocPresentationToCreate, DcqlPresentationsToCreate, DcqlSdJwtVcPresentationToCreate, DcqlSdJwtW3cVpPresentationToCreate, dcqlGetPresentationsToCreate } from "./modules/dcql/utils/DcqlPresentationsToCreate.js";
import { didKeyToEd25519PublicJwk, didKeyToVerkey, isDidKey, verkeyToDidKey, verkeyToPublicJwk } from "./modules/dids/helpers.js";
import { didDocumentJsonToNumAlgo1Did } from "./modules/dids/methods/peer/peerDidNumAlgo1.js";
import { didDocumentToNumAlgo2Did } from "./modules/dids/methods/peer/peerDidNumAlgo2.js";
import { didDocumentToNumAlgo4Did } from "./modules/dids/methods/peer/peerDidNumAlgo4.js";
import { isStorageUpToDate } from "./storage/migration/isUpToDate.js";
import { StorageVersionRecord, StorageVersionRecordProps } from "./storage/migration/repository/StorageVersionRecord.js";
import { StorageVersionRepository } from "./storage/migration/repository/StorageVersionRepository.js";
import { StorageUpdateService } from "./storage/migration/StorageUpdateService.js";
import { UpdateAssistant, UpdateAssistantUpdateOptions } from "./storage/migration/UpdateAssistant.js";
import { RecordDeletedEvent, RecordSavedEvent, RecordUpdatedEvent, RepositoryEventTypes } from "./storage/RepositoryEvents.js";
import { base64ToBase64URL } from "./utils/base64.js";
import { getDomainFromUrl } from "./utils/domain.js";
import { getDirFromFilePath, joinUriParts } from "./utils/path.js";
import { getProtocolScheme } from "./utils/uri.js";
import { isValidUuid, uuid } from "./utils/uuid.js";

//#region src/index.d.ts
declare const utils: {
  areObjectsEqual: typeof areObjectsEqual;
  uuid: typeof uuid;
  isValidUuid: typeof isValidUuid;
  getProtocolScheme: typeof getProtocolScheme;
  timestamp: typeof timestamp;
  indyDidFromPublicKeyBase58: typeof indyDidFromPublicKeyBase58;
  nowInSeconds: typeof nowInSeconds;
  dateToSeconds: typeof dateToSeconds;
  addSecondsToDate: typeof addSecondsToDate;
};
//#endregion
export { ANONCREDS_DATA_INTEGRITY_CRYPTOSUITE, Agent, type AgentApi, AgentConfig, AgentContext, AgentContextProvider, type AgentDependencies, AnonCredsDataIntegrityServiceSymbol, AnoncredsDataIntegrityCreatePresentation, AnoncredsDataIntegrityVerifyPresentation, type AnyUint8Array, ApiModule, BaseAgent, BaseEvent, BaseLogger, type BaseName, BaseRecord, BaseRecordAny, type BaseRecordConstructor, Buffer, CREDENTIALS_CONTEXT_V1_URL, CREDENTIALS_CONTEXT_V2_URL, CREDENTIALS_ISSUER_URL, Cache, CacheModule, CacheModuleConfig, CacheModuleOptions, CachedStorageService, type CanBePromise, ClaimFormat, ClassValidationError, ConsoleLogger, type Constructable, type Constructor, ContentType, CredentialIssuancePurpose, CredentialMultiInstanceState, CredentialMultiInstanceUseMode, CredoError, CredoWebCrypto, CredoWebCryptoKey, CustomDidTags, CustomW3cCredentialTags, DID_V1_CONTEXT_URL, DataIntegrityProof, DataIntegrityProofOptions, DateOnly, DateTransformer, DcqlCredential, DcqlCredentialsForRequest, DcqlEncodedPresentations, DcqlEncodedPresentationsEntry, DcqlError, DcqlFailedCredential, DcqlJwtVpPresentationToCreate, DcqlJwtW3cVpPresentationToCreate, DcqlLdpVpPresentationToCreate, DcqlMatchWithRecord, DcqlMdocCredential, DcqlMdocPresentationToCreate, DcqlModule, DcqlPresentation, DcqlPresentationResult, DcqlPresentationsToCreate, DcqlQuery, DcqlQueryResult, DcqlSdJwtVcCredential, DcqlSdJwtVcPresentationToCreate, DcqlSdJwtW3cVpPresentationToCreate, DcqlSelectCredentialsForRequestOptions, DcqlService, DcqlValidCredential, DcqlW3cVcCredential, DefaultAgentContextProvider, type DefaultAgentModules, DefaultMdocRecordTags, DefaultSdJwtVcRecordTags, DefaultW3cCredentialTags, DefaultW3cV2CredentialTags, DependencyManager, DidCommV1Service, LegacyDidCommV2Service as DidCommV2Service, LegacyDidCommV2ServiceOptions as DidCommV2ServiceOptions, DidCreateOptions, DidCreateResult, DidDeactivateOptions, DidDeactivateResult, DidDocument, DidDocumentBuilder, DidDocumentKey, DidDocumentMetadata, DidDocumentOperation, DidDocumentRole, DidDocumentService, DidJwk, DidKey, DidOperationStateActionBase, DidOperationStateFailed, DidOperationStateFinished, DidOperationStateWait, DidPurpose, DidRecord, DidRecordMetadataKeys, DidRecordProps, DidRegistrar, DidRegistrarService, DidRegistrationExtraOptions, DidRegistrationMetadata, DidRegistrationSecretOptions, DidRepository, DidResolutionMetadata, DidResolutionOptions, DidResolutionResult, DidResolver, DidResolverService, DidUpdateOptions, DidUpdateResult, DidsApi, DidsModule, DidsModuleConfig, DidsModuleConfigOptions, DifPexCredentialsForRequest, DifPexCredentialsForRequestRequirement, DifPexCredentialsForRequestSubmissionEntry, DifPexInputDescriptorToCredentials, DifPexPresentationWithDescriptor, DifPresentationExchangeDefinition, DifPresentationExchangeDefinitionV1, DifPresentationExchangeDefinitionV2, DifPresentationExchangeError, DifPresentationExchangeModule, DifPresentationExchangeService, DifPresentationExchangeSubmission, PresentationSubmissionLocation as DifPresentationExchangeSubmissionLocation, DocumentLoader, type DownloadToFileOptions, ENVELOPED_VERIFIABLE_CREDENTIAL_TYPE, ENVELOPED_VERIFIABLE_PRESENTATION_TYPE, EXPANDED_TYPE_CREDENTIALS_CONTEXT_V1_VC_TYPE, Ed25519Signature2018, Ed25519Signature2020, type EmptyModuleMap, EncodedX509Certificate, EventEmitter, EventMetadata, type FileSystem, GenericRecord, GenericRecordStorageProps, GenericRecordTags, GenericRecordsApi, GenericRecordsModule, HashName, Hasher, IAnonCredsDataIntegrityService, IDisclosureFrame, IPresentationFrame, ImportDidOptions, InMemoryLruCache, InMemoryLruCacheOptions, IndyAgentService, type InitConfig, InjectionSymbols, InjectionToken, IsEnvelopedVerifiableCredentialType, IsEnvelopedVerifiablePresentationType, IsStringOrInstance, IsStringOrInstanceOrArrayOfInstances, IsStringOrStringArray, IsStringOrVerificationMethod, IsUri, IsW3cCredentialSubject, IsW3cIssuer, IsW3cV2Issuer, type JsonArray, JsonEncoder, type JsonObject, JsonTransformer, type JsonValue, JwkDidCreateOptions, JwkDidDeactivateOptions, JwkDidRegistrar, JwkDidResolver, JwkDidUpdateOptions, JwsDetachedFormat, JwsFlattenedDetachedFormat, JwsGeneralFormat, JwsLinkedDataSignature, JwsLinkedDataSignatureOptions, JwsProtectedHeaderOptions, JwsService, JwsSigner, JwsSignerDid, JwsSignerJwk, JwsSignerWithJwk, JwsSignerX5c, Jwt, JwtPayload, JwtPayloadJson, JwtPayloadOptions, KeyDidCreateOptions, KeyDidDeactivateOptions, KeyDidRegistrar, KeyDidResolver, KeyDidUpdateOptions, KeyGenAlgorithm, KeySignParams, index_d_exports as Kms, LdKeyPair, LdKeyPairOptions, LogLevel, Logger, Mdoc, MdocApi, MdocDeviceResponse, MdocDeviceResponseOptions, MdocDeviceResponsePresentationDefinitionOptions, MdocDeviceResponseVerifyOptions, MdocDocumentRequest, MdocError, MdocModule, MdocNameSpaces, MdocOpenId4VpDcApiDraft24SessionTranscriptOptions, MdocOpenId4VpDcApiSessionTranscriptOptions, MdocOpenId4VpDraft18SessionTranscriptOptions, MdocOpenId4VpSessionTranscriptOptions, MdocRecord, MdocRecordInstances, MdocRecordStorageProps, MdocRepository, MdocService, MdocSessionTranscriptByteOptions, MdocSessionTranscriptOptions, MdocSignOptions, MdocStoreOptions, MdocSupportedSignatureAlgorithm, MdocVerifyOptions, MessageValidator, Metadata, type MetadataBase, Module, type ModulesMap, MultiBaseEncoder, MultiHashEncoder, DidCommV2Service as NewDidCommV2Service, DidCommV2ServiceEndpoint as NewDidCommV2ServiceEndpoint, DidCommV2ServiceEndpointOptions as NewDidCommV2ServiceEndpointOptions, type NonEmptyArray, type Optional, ParsedDid, PeerDidCreateOptions, PeerDidDeactivateOptions, PeerDidNumAlgo, PeerDidNumAlgo0CreateOptions, PeerDidNumAlgo1CreateOptions, PeerDidNumAlgo2CreateOptions, PeerDidNumAlgo4CreateOptions, PeerDidRegistrar, PeerDidResolver, PeerDidUpdateOptions, Proof, ProofPurpose, type Query, type QueryOptions, RecordDeletedEvent, RecordDuplicateError, RecordNotFoundError, RecordSavedEvent, RecordTags, RecordUpdatedEvent, Repository, RepositoryEventTypes, type ResolvedDidCommService, SECURITY_CONTEXT_SECP256k1_URL, SECURITY_CONTEXT_URL, SECURITY_CONTEXT_V1_URL, SECURITY_CONTEXT_V2_URL, SECURITY_CONTEXT_V3_URL, SECURITY_JWS_CONTEXT_URL, SECURITY_PROOF_URL, SECURITY_SIGNATURE_URL, SECURITY_X25519_CONTEXT_URL, SaveGenericRecordOption, SdJwtVc, SdJwtVcApi, SdJwtVcError, SdJwtVcHeader, SdJwtVcHolderBinding, SdJwtVcHolderDidBinding, SdJwtVcHolderJwkBinding, SdJwtVcIssuer, SdJwtVcIssuerDid, SdJwtVcIssuerX5c, SdJwtVcModule, SdJwtVcPayload, SdJwtVcPresentOptions, SdJwtVcRecord, SdJwtVcRecordInstances, SdJwtVcRecordStorageProps, SdJwtVcRepository, SdJwtVcService, SdJwtVcSignOptions, SdJwtVcStoreOptions, SdJwtVcTypeMetadata, SdJwtVcTypeMetadataClaim, SdJwtVcTypeMetadataDisplay, SdJwtVcTypeMetadataRenderingMethodSimple, SdJwtVcTypeMetadataRenderingMethodSvgTemplate, SdJwtVcVerifyOptions, ServiceTransformer, Sha1, Sha256, Sha384, Sha512, SignatureSuiteRegistry, SignatureSuiteToken, type SimpleQuery, SingleContextLruCacheItem, SingleContextLruCacheRecord, SingleContextStorageLruCache, SingleContextStorageLruCacheOptions, type SingleOrArray, SingleValidationResult, type StorageService, StorageUpdateService, StorageVersionRecord, StorageVersionRecordProps, StorageVersionRepository, SubmissionEntryCredential, SuiteInfo, TagValue, Tags, TagsBase, TypedArrayEncoder, type Uint8ArrayBuffer, type UnionToIntersection, Update, UpdateAssistant, UpdateAssistantUpdateOptions, type UpdateConfig, type V0_1ToV0_2UpdateConfig, VERIFIABLE_CREDENTIAL_TYPE, VERIFIABLE_PRESENTATION_TYPE, VERIFICATION_METHOD_TYPE_ECDSA_SECP256K1_VERIFICATION_KEY_2019, VERIFICATION_METHOD_TYPE_ED25519_VERIFICATION_KEY_2018, VERIFICATION_METHOD_TYPE_ED25519_VERIFICATION_KEY_2020, VERIFICATION_METHOD_TYPE_JSON_WEB_KEY_2020, VERIFICATION_METHOD_TYPE_MULTIKEY, VERIFICATION_METHOD_TYPE_X25519_KEY_AGREEMENT_KEY_2019, VerifiableCredential, VerifiablePresentation, VerificationMethod, VerificationMethodTransformer, VerificationResult, type VersionString, W3cCreatePresentationOptions, W3cCredential, W3cCredentialOptions, W3cCredentialRecord, W3cCredentialRecordInstances, W3cCredentialRecordOptions, W3cCredentialRepository, W3cCredentialSchema, W3cCredentialSchemaOptions, W3cCredentialService, W3cCredentialStatus, W3cCredentialStatusOptions, W3cCredentialSubject, W3cCredentialSubjectOptions, W3cCredentialSubjectTransformer, W3cCredentialsApi, W3cCredentialsModule, W3cCredentialsModuleConfig, W3cCredentialsModuleConfigOptions, W3cIssuer, W3cIssuerOptions, W3cIssuerTransformer, W3cJsonCredential, W3cJsonLdCredentialService, W3cJsonLdDeriveProofOptions, W3cJsonLdSignCredentialOptions, W3cJsonLdSignPresentationOptions, W3cJsonLdVerifiableCredential, W3cJsonLdVerifiableCredentialOptions, W3cJsonLdVerifiablePresentation, W3cJsonLdVerifiablePresentationOptions, W3cJsonLdVerifyCredentialOptions, W3cJsonLdVerifyPresentationOptions, W3cJsonPresentation, W3cJwtCredentialService, W3cJwtSignCredentialOptions, W3cJwtSignPresentationOptions, W3cJwtVerifiableCredential, W3cJwtVerifiableCredentialOptions, W3cJwtVerifiablePresentation, W3cJwtVerifiablePresentationOptions, W3cJwtVerifyCredentialOptions, W3cJwtVerifyPresentationOptions, W3cPresentation, W3cPresentationOptions, W3cSignCredentialOptions, W3cSignPresentationOptions, W3cStoreCredentialOptions, W3cV2Credential, W3cV2CredentialOptions, W3cV2CredentialRecord, W3cV2CredentialRecordInstances, W3cV2CredentialRecordOptions, W3cV2CredentialRepository, W3cV2CredentialSchema, W3cV2CredentialSchemaOptions, W3cV2CredentialService, W3cV2CredentialStatus, W3cV2CredentialStatusOptions, W3cV2CredentialSubject, W3cV2CredentialSubjectOptions, W3cV2CredentialsApi, W3cV2CredentialsModule, W3cV2EnvelopedVerifiableCredential, W3cV2EnvelopedVerifiableCredentialOptions, W3cV2EnvelopedVerifiableCredentialTransformer, W3cV2EnvelopedVerifiablePresentation, W3cV2EnvelopedVerifiablePresentationOptions, W3cV2Evidence, W3cV2EvidenceOptions, W3cV2Issuer, W3cV2IssuerOptions, W3cV2IssuerTransformer, W3cV2JsonCredential, W3cV2JsonLocalizedValue, W3cV2JsonPresentation, W3cV2JwtCredentialService, W3cV2JwtSignCredentialOptions, W3cV2JwtSignPresentationOptions, W3cV2JwtVerifiableCredential, W3cV2JwtVerifiableCredentialOptions, W3cV2JwtVerifiablePresentation, W3cV2JwtVerifiablePresentationOptions, W3cV2JwtVerifyCredentialOptions, W3cV2JwtVerifyPresentationOptions, W3cV2LocalizedValue, W3cV2LocalizedValueOptions, W3cV2LocalizedValueTransformer, W3cV2Presentation, W3cV2PresentationOptions, W3cV2RefreshService, W3cV2RefreshServiceOptions, W3cV2SdJwt, W3cV2SdJwtCredentialService, W3cV2SdJwtHeader, W3cV2SdJwtPayload, W3cV2SdJwtSignCredentialOptions, W3cV2SdJwtSignPresentationOptions, W3cV2SdJwtVcPresentOptions, W3cV2SdJwtVerifiableCredential, W3cV2SdJwtVerifiableCredentialOptions, W3cV2SdJwtVerifiablePresentation, W3cV2SdJwtVerifiablePresentationOptions, W3cV2SdJwtVerifyCredentialOptions, W3cV2SdJwtVerifyPresentationOptions, W3cV2SignCredentialOptions, W3cV2SignPresentationOptions, W3cV2StoreCredentialOptions, W3cV2TermsOfUse, W3cV2TermsOfUseOptions, W3cV2VerifiableCredential, W3cV2VerifiableCredentialOptions, W3cV2VerifiableCredentialTransformer, W3cV2VerifyCredentialOptions, W3cV2VerifyCredentialResult, W3cV2VerifyPresentationOptions, W3cV2VerifyPresentationResult, W3cVerifiableCredential, W3cVerifiableCredentialTransformer, W3cVerifiablePresentation, W3cVerifyCredentialOptions, W3cVerifyCredentialResult, W3cVerifyPresentationOptions, W3cVerifyPresentationResult, WebDidResolver, X509Api, X509Certificate, X509CertificateExtensionsOptions, X509CertificateIssuerAndSubjectOptions, X509CertificateOptions, X509CreateCertificateChainOptions, X509CreateCertificateOptions, X509Error, X509ExtendedKeyUsage, X509GetLeafCertificateOptions, X509KeyUsage, X509Module, X509ModuleConfig, X509ModuleConfigOptions, X509ParseCertificateOptions, X509Service, X509ValidateCertificateChainOptions, X509VerificationContext, X509VerificationTypeCredential, X509VerificationTypeOauth2ClientAttestation, X509VerificationTypeOauth2SecuredAuthorizationRequest, X509VerificationTypeOpenId4VciCredentialIssuerMetadata, X509VerificationTypeOpenId4VciKeyAttestation, type XOR, ZodValidationError, asArray, base64ToBase64URL, convertName, convertPublicKeyToX25519, createAuthorityKeyIdentifierExtension, createBasicConstraintsExtension, createCrlDistributionPointsExtension, createExtendedKeyUsagesExtension, createIssuerAlternativeNameExtension, createKeyUsagesExtension, createPeerDidDocumentFromServices, createSubjectAlternativeNameExtension, createSubjectKeyIdentifierExtension, dcqlGetPresentationsToCreate, decodeSdJwt, deepEquality, deriveProof, didDocumentJsonToNumAlgo1Did, didDocumentToNumAlgo2Did, didDocumentToNumAlgo4Did, didKeyToEd25519PublicJwk, didKeyToVerkey, equalsIgnoreOrder, equalsWithOrder, extractPresentationsWithDescriptorsFromSubmission, extractX509CertificatesFromJwt, filterContextCorrelationId, findMatchingEd25519Key, findVerificationMethodByKeyType, getAlternativeDidsForPeerDid, getApiForModuleByName, getDirFromFilePath, getDomainFromUrl, getEcdsaSecp256k1VerificationKey2019, getEd25519VerificationKey2018, getEd25519VerificationKey2020, getJsonWebKey2020, getKmsKeyIdForVerifiacationMethod, getMultikey, getNumAlgoFromPeerDid, getPublicJwkFromEcdsaSecp256k1VerificationKey2019, getPublicJwkFromEd25519VerificationKey2018, getPublicJwkFromEd25519VerificationKey2020, getPublicJwkFromJsonWebKey2020, getPublicJwkFromMultikey, getPublicJwkFromVerificationMethod, getPublicJwkFrommX25519KeyAgreementKey2019, getRegisteredModuleByInstance, getRegisteredModuleByName, getX25519KeyAgreementKey2019, inject, injectAll, injectable, isDid, isDidKey, isEcdsaSecp256k1VerificationKey2019, isEd25519VerificationKey2018, isEd25519VerificationKey2020, isJsonObject, isJsonWebKey2020, isMdocSupportedSignatureAlgorithm, isMultikey, isNonEmptyArray, isStorageUpToDate, isValidPeerDid, isX25519KeyAgreementKey2019, joinUriParts, keyDidEd25519, keyDidX25519, mapNonEmptyArray, parseDid, publicJwkToCryptoKeyAlgorithm, replaceError, sdJwtVcHasher, serviceTypes, tryParseDid, utils, vcLibraries, verkeyToDidKey, verkeyToPublicJwk, w3cDate };
//# sourceMappingURL=index.d.ts.map