'use strict';

var types_generic_typedEnum = require('../generic/typed-enum.cjs');
require('../generic/typed-bytes.cjs');
require('../generic/typed-string.cjs');
require('../generic/typed-array.cjs');
require('../generic/typed-tuple.cjs');
require('../generic/typed-null.cjs');
require('../../utils/types/array.cjs');
require('crypto');
require('bs58');
require('multiformats/bases/base58');
require('varint');
require('../../utils/encoding/ss-58.cjs');
require('../generic/typed-number.cjs');
require('../generic/typed-set.cjs');
require('../generic/typed-map.cjs');
require('../generic/typed-struct.cjs');
require('uuid');
require('js-sha256');
var types_did_offchain_index = require('./offchain/index.cjs');
var types_did_onchain_index = require('./onchain/index.cjs');
var types_did_document_index = require('./document/index.cjs');
var types_did_onchain_typedDid_dockDidValue = require('./onchain/typed-did/dock-did-value.cjs');
var types_did_document_identRef = require('./document/ident-ref.cjs');
var types_did_document_const = require('./document/const.cjs');
var types_did_onchain_constants = require('./onchain/constants.cjs');
var types_did_document_verificationMethodType = require('./document/verification-method-type.cjs');
var types_did_offchain_docRef = require('./offchain/doc-ref.cjs');
var types_did_onchain_typedDid_cheqdDid = require('./onchain/typed-did/cheqd-did.cjs');
var types_did_onchain_typedDid_index = require('./onchain/typed-did/index.cjs');
var types_did_document_verificationMethod = require('./document/verification-method.cjs');
var types_did_document_serviceEndpoint = require('./document/service-endpoint.cjs');
var types_did_onchain_verificationMethodSignature = require('./onchain/verification-method-signature.cjs');
var types_did_onchain_controllers = require('./onchain/controllers.cjs');
var types_did_onchain_didKey = require('./onchain/did-key.cjs');
var types_did_onchain_typedDid_didMethodKey_didMethodKeyPublicKey = require('./onchain/typed-did/did-method-key/did-method-key-public-key.cjs');
var types_did_document_verificationMethodRef = require('./document/verification-method-ref.cjs');
var types_did_onchain_verificationRelationship = require('./onchain/verification-relationship.cjs');
require('../../utils/types/iterable.cjs');
require('../../utils/types/object.cjs');
require('../../utils/interfaces.cjs');
require('../../utils/assert.cjs');
require('../../utils/error.cjs');
require('../../utils/inheritance.cjs');
require('../../utils/types/set.cjs');
require('../generic/with-base.cjs');
require('../../utils/types/bytes.cjs');
require('../../utils/types/string.cjs');
require('../generic/with-catch-null.cjs');
require('../generic/with-eq.cjs');
require('../generic/any-of.cjs');
require('../generic/with-from.cjs');
require('blake2b');
require('../generic/with-from-json-bytes.cjs');
require('../generic/create-placeholder.cjs');
require('../generic/sized.cjs');
require('../../utils/types/number.cjs');
require('../generic/option.cjs');
require('../generic/typed-uuid.cjs');
require('./document/verification-method-ref-or-cheqd-verification-method.cjs');
require('../generic/with-qualifier.cjs');
require('./onchain/typed-did/signature.cjs');
require('../public-keys/public-key.cjs');
require('../public-keys/public-key-x25519-value.cjs');
require('../public-keys/public-key-ed25519-value.cjs');
require('../../vc/crypto/constants.cjs');
require('../public-keys/public-key-secp256k1-value.cjs');
require('../public-keys/public-key-sr25519-value.cjs');
require('../signatures/signature-value.cjs');
require('../signatures/signature.cjs');
require('../signatures/signature-ed25519-value.cjs');
require('../signatures/signature-secp256k1-value.cjs');
require('../signatures/signature-sr25519-value.cjs');
require('../../utils/encoding/base-58-btc.cjs');
require('./onchain/typed-did/did-method-key/did-method-key-signature.cjs');
require('../generic/utils.cjs');
require('../generic/typed-bytes-array.cjs');
require('../../vc/crypto/Bls12381BBDT16KeyPairDock2024.cjs');
require('@docknetwork/crypto-wasm-ts');
require('../../vc/crypto/common/DockCryptoKeyPair.cjs');
require('../../vc/crypto/Bls12381BBDT16MACDock2024.cjs');
require('@docknetwork/crypto-wasm-ts/lib/index.js');
require('../../vc/crypto/common/DockCryptoSignature.cjs');
require('jsonld-signatures');
require('json-stringify-deterministic');
require('semver/preload.js');
require('../../vc/crypto/common/CustomLinkedDataSignature.cjs');
require('base64url');
require('jsonld');
require('../../vc/jws.cjs');
require('../../vc/crypto/Bls12381BBDT16MACProofDock2024.cjs');
require('../../vc/crypto/common/DockCryptoSignatureProof.cjs');
require('../../vc/crypto/Bls12381BBSKeyPairDock2023.cjs');
require('../../vc/crypto/Bls12381BBSSignatureDock2022.cjs');
require('../../vc/crypto/Bls12381G2KeyPairDock2022.cjs');
require('../../vc/crypto/Bls12381BBSSignatureDock2023.cjs');
require('../../vc/crypto/Bls12381BBSSignatureProofDock2022.cjs');
require('../../vc/crypto/Bls12381BBSSignatureProofDock2023.cjs');
require('../../vc/crypto/Bls12381BDDT16KeyPairDock2024.cjs');
require('../../vc/crypto/Bls12381BDDT16MACDock2024.cjs');
require('../../vc/crypto/Bls12381BDDT16MACProofDock2024.cjs');
require('../../vc/crypto/Bls12381PSKeyPairDock2023.cjs');
require('../../vc/crypto/Bls12381PSSignatureDock2023.cjs');
require('../../vc/crypto/Bls12381PSSignatureProofDock2023.cjs');
require('@juanelas/base64');
require('../../keypairs/keypair-secp256k1.cjs');
require('elliptic');
require('../../keypairs/dock-keypair.cjs');
require('@stablelib/ed25519');
require('@transmute/json-web-signature');
require('../../utils/encoding/base-58.cjs');
require('../generic/with-prop.cjs');
require('../generic/with-props.cjs');
require('../generic/with-base58.cjs');
require('../generic/with-base58btc.cjs');
require('../generic/with-multibase.cjs');
require('../../utils/encoding/multibase.cjs');
require('../offchain-signatures/params/index.cjs');
require('../offchain-signatures/params/value.cjs');
require('../offchain-signatures/curve-type.cjs');
require('../offchain-signatures/params/id.cjs');
require('../generic/with-from-dock-id.cjs');
require('../offchain-signatures/public-keys/index.cjs');
require('../offchain-signatures/public-keys/value.cjs');
require('../offchain-signatures/public-keys/ref.cjs');
require('../offchain-signatures/public-keys/id.cjs');
require('../../keypairs/did-keypair.cjs');
require('./document/verification-method-ref-or-ident-ref.cjs');

class StoredDidDetails extends types_generic_typedEnum {}

class StoredOnchainDidDetails extends StoredDidDetails {
  static Type = 'onChain';

  static Class = types_did_onchain_index.StoredOnchainDidDetailsValue;
}
class StoredOffchainDidDetails extends StoredDidDetails {
  static Type = 'offChain';

  static Class = types_did_offchain_index.OffchainDidDetailsValue;
}

StoredDidDetails.bindVariants(
  StoredOnchainDidDetails,
  StoredOffchainDidDetails,
);

exports.OffchainDidDetailsValue = types_did_offchain_index.OffchainDidDetailsValue;
exports.DidMethodKeyDetails = types_did_onchain_index.DidMethodKeyDetails;
exports.OnchainDidDetailsValue = types_did_onchain_index.OnchainDidDetailsValue;
exports.StoredOnchainDidDetailsValue = types_did_onchain_index.StoredOnchainDidDetailsValue;
exports.CheqdDIDDocument = types_did_document_index.CheqdDIDDocument;
exports.CheqdMainnetDIDDocument = types_did_document_index.CheqdMainnetDIDDocument;
exports.CheqdMainnetVerificationMethodReferences = types_did_document_index.CheqdMainnetVerificationMethodReferences;
exports.CheqdTestnetDIDDocument = types_did_document_index.CheqdTestnetDIDDocument;
exports.CheqdTestnetVerificationMethodReferences = types_did_document_index.CheqdTestnetVerificationMethodReferences;
exports.CheqdVerificationMethodReferences = types_did_document_index.CheqdVerificationMethodReferences;
exports.DIDDocument = types_did_document_index.DIDDocument;
exports.Services = types_did_document_index.Services;
exports.VerificationMethodReferences = types_did_document_index.VerificationMethodReferences;
exports.VersionId = types_did_document_index.VersionId;
exports.DockDidValue = types_did_onchain_typedDid_dockDidValue.default;
exports.IdentRef = types_did_document_identRef;
exports.ATTESTS_IRI = types_did_document_const.ATTESTS_IRI;
exports.CONTEXT_URI = types_did_document_const.CONTEXT_URI;
exports.BBS23PublicKeyPrefix = types_did_onchain_constants.BBS23PublicKeyPrefix;
exports.BBSPlusPublicKeyPrefix = types_did_onchain_constants.BBSPlusPublicKeyPrefix;
exports.CheqdDIDByteSize = types_did_onchain_constants.CheqdDIDByteSize;
exports.CheqdDIDMainnetQualifier = types_did_onchain_constants.CheqdDIDMainnetQualifier;
exports.CheqdDIDMethod = types_did_onchain_constants.CheqdDIDMethod;
exports.CheqdDIDQualifier = types_did_onchain_constants.CheqdDIDQualifier;
exports.CheqdDIDTestnetQualifier = types_did_onchain_constants.CheqdDIDTestnetQualifier;
exports.DidMethodKeyBBS23ByteSize = types_did_onchain_constants.DidMethodKeyBBS23ByteSize;
exports.DidMethodKeyBBS23Prefix = types_did_onchain_constants.DidMethodKeyBBS23Prefix;
exports.DidMethodKeyBBSPlusByteSize = types_did_onchain_constants.DidMethodKeyBBSPlusByteSize;
exports.DidMethodKeyBBSPlusPrefix = types_did_onchain_constants.DidMethodKeyBBSPlusPrefix;
exports.DidMethodKeyBytePrefixBBS23 = types_did_onchain_constants.DidMethodKeyBytePrefixBBS23;
exports.DidMethodKeyBytePrefixBBSPlus = types_did_onchain_constants.DidMethodKeyBytePrefixBBSPlus;
exports.DidMethodKeyBytePrefixEd25519 = types_did_onchain_constants.DidMethodKeyBytePrefixEd25519;
exports.DidMethodKeyBytePrefixSecp256k1 = types_did_onchain_constants.DidMethodKeyBytePrefixSecp256k1;
exports.DidMethodKeyEd25519ByteSize = types_did_onchain_constants.DidMethodKeyEd25519ByteSize;
exports.DidMethodKeyEd25519Prefix = types_did_onchain_constants.DidMethodKeyEd25519Prefix;
exports.DidMethodKeyQualifier = types_did_onchain_constants.DidMethodKeyQualifier;
exports.DidMethodKeySecp256k1ByteSize = types_did_onchain_constants.DidMethodKeySecp256k1ByteSize;
exports.DidMethodKeySecp256k1Prefix = types_did_onchain_constants.DidMethodKeySecp256k1Prefix;
exports.DockDIDByteSize = types_did_onchain_constants.DockDIDByteSize;
exports.DockDIDMethod = types_did_onchain_constants.DockDIDMethod;
exports.DockDIDQualifier = types_did_onchain_constants.DockDIDQualifier;
exports.Ed25519PublicKeyPrefix = types_did_onchain_constants.Ed25519PublicKeyPrefix;
exports.Secp256k1PublicKeyPrefix = types_did_onchain_constants.Secp256k1PublicKeyPrefix;
exports.Bls12381BBDT16VerificationKeyDock2024 = types_did_document_verificationMethodType.Bls12381BBDT16VerificationKeyDock2024;
exports.Bls12381BBSVerificationKeyDock2023 = types_did_document_verificationMethodType.Bls12381BBSVerificationKeyDock2023;
exports.Bls12381G2VerificationKeyDock2022 = types_did_document_verificationMethodType.Bls12381G2VerificationKeyDock2022;
exports.Bls12381PSVerificationKeyDock2023 = types_did_document_verificationMethodType.Bls12381PSVerificationKeyDock2023;
exports.EcdsaSecp256k1VerificationKey2019 = types_did_document_verificationMethodType.EcdsaSecp256k1VerificationKey2019;
exports.Ed25519Verification2018Method = types_did_document_verificationMethodType.Ed25519Verification2018Method;
exports.Ed25519Verification2020Method = types_did_document_verificationMethodType.Ed25519Verification2020Method;
exports.JsonWebKey2020Method = types_did_document_verificationMethodType.JsonWebKey2020Method;
exports.Sr25519Verification2020Method = types_did_document_verificationMethodType.Sr25519Verification2020Method;
exports.VerificationMethodType = types_did_document_verificationMethodType.VerificationMethodType;
exports.X25519KeyAgreementKey2019 = types_did_document_verificationMethodType.X25519KeyAgreementKey2019;
exports.CIDOffchainDocRef = types_did_offchain_docRef.CIDOffchainDocRef;
exports.CustomOffchainDocRef = types_did_offchain_docRef.CustomOffchainDocRef;
exports.OffChainDidDocRef = types_did_offchain_docRef.OffChainDidDocRef;
exports.URLOffchainDocRef = types_did_offchain_docRef.URLOffchainDocRef;
exports.CheqdDLRRef = types_did_onchain_typedDid_cheqdDid.CheqdDLRRef;
exports.CheqdDid = types_did_onchain_typedDid_cheqdDid.CheqdDid;
exports.CheqdDidValue = types_did_onchain_typedDid_cheqdDid.CheqdDidValue;
exports.CheqdMainnetDid = types_did_onchain_typedDid_cheqdDid.CheqdMainnetDid;
exports.CheqdMainnetDidValue = types_did_onchain_typedDid_cheqdDid.CheqdMainnetDidValue;
exports.CheqdTestnetDid = types_did_onchain_typedDid_cheqdDid.CheqdTestnetDid;
exports.CheqdTestnetDidValue = types_did_onchain_typedDid_cheqdDid.CheqdTestnetDidValue;
exports.CheqdDidRef = types_did_onchain_typedDid_index.CheqdDidRef;
exports.CheqdNamespaceDid = types_did_onchain_typedDid_index.CheqdNamespaceDid;
exports.DidMethodKey = types_did_onchain_typedDid_index.DidMethodKey;
exports.DidNamespaceKey = types_did_onchain_typedDid_index.DidNamespaceKey;
exports.DidRef = types_did_onchain_typedDid_index.DidRef;
exports.DockDid = types_did_onchain_typedDid_index.DockDid;
exports.DockDidOrDidMethodKey = types_did_onchain_typedDid_index.DockDidOrDidMethodKey;
exports.DockNamespaceDid = types_did_onchain_typedDid_index.DockNamespaceDid;
exports.NamespaceDid = types_did_onchain_typedDid_index.NamespaceDid;
exports.possibleDids = types_did_onchain_typedDid_index.possibleDids;
exports.CheqdMainnetPublicKeyMetadata = types_did_document_verificationMethod.CheqdMainnetPublicKeyMetadata;
exports.CheqdMainnetVerificationMethod = types_did_document_verificationMethod.CheqdMainnetVerificationMethod;
exports.CheqdMainnetVerificationMethodAssertion = types_did_document_verificationMethod.CheqdMainnetVerificationMethodAssertion;
exports.CheqdMainnetVerificationMethodAssertionLegacy = types_did_document_verificationMethod.CheqdMainnetVerificationMethodAssertionLegacy;
exports.CheqdPublicKeyMetadata = types_did_document_verificationMethod.CheqdPublicKeyMetadata;
exports.CheqdTestnetPublicKeyMetadata = types_did_document_verificationMethod.CheqdTestnetPublicKeyMetadata;
exports.CheqdTestnetVerificationMethod = types_did_document_verificationMethod.CheqdTestnetVerificationMethod;
exports.CheqdTestnetVerificationMethodAssertion = types_did_document_verificationMethod.CheqdTestnetVerificationMethodAssertion;
exports.CheqdTestnetVerificationMethodAssertionLegacy = types_did_document_verificationMethod.CheqdTestnetVerificationMethodAssertionLegacy;
exports.CheqdVerificationMethod = types_did_document_verificationMethod.CheqdVerificationMethod;
exports.CheqdVerificationMethodAssertion = types_did_document_verificationMethod.CheqdVerificationMethodAssertion;
exports.CheqdVerificationMethodAssertionLegacy = types_did_document_verificationMethod.CheqdVerificationMethodAssertionLegacy;
exports.DockPublicKeyMetadata = types_did_document_verificationMethod.DockPublicKeyMetadata;
exports.PublicKeyBase58 = types_did_document_verificationMethod.PublicKeyBase58;
exports.PublicKeyBase58OrMultibase = types_did_document_verificationMethod.PublicKeyBase58OrMultibase;
exports.PublicKeyBase64 = types_did_document_verificationMethod.PublicKeyBase64;
exports.PublicKeyMetadata = types_did_document_verificationMethod.PublicKeyMetadata;
exports.PublicKeyMultibase = types_did_document_verificationMethod.PublicKeyMultibase;
exports.TypedJsonWebKey = types_did_document_verificationMethod.TypedJsonWebKey;
exports.VerificationMethod = types_did_document_verificationMethod.VerificationMethod;
exports.CheqdMainnetService = types_did_document_serviceEndpoint.CheqdMainnetService;
exports.CheqdMainnetServiceEndpointId = types_did_document_serviceEndpoint.CheqdMainnetServiceEndpointId;
exports.CheqdService = types_did_document_serviceEndpoint.CheqdService;
exports.CheqdServiceEndpointId = types_did_document_serviceEndpoint.CheqdServiceEndpointId;
exports.CheqdTestnetService = types_did_document_serviceEndpoint.CheqdTestnetService;
exports.CheqdTestnetServiceEndpointId = types_did_document_serviceEndpoint.CheqdTestnetServiceEndpointId;
exports.DIDCommMessaging = types_did_document_serviceEndpoint.DIDCommMessaging;
exports.DIDCommService = types_did_document_serviceEndpoint.DIDCommService;
exports.DIDCommServiceEndpoint = types_did_document_serviceEndpoint.DIDCommServiceEndpoint;
exports.DIDCommServiceEndpointValue = types_did_document_serviceEndpoint.DIDCommServiceEndpointValue;
exports.DIDCommServiceEndpoints = types_did_document_serviceEndpoint.DIDCommServiceEndpoints;
exports.DIDCommServiceEndpointsArray = types_did_document_serviceEndpoint.DIDCommServiceEndpointsArray;
exports.LinkedDomains = types_did_document_serviceEndpoint.LinkedDomains;
exports.Service = types_did_document_serviceEndpoint.Service;
exports.ServiceEndpoint = types_did_document_serviceEndpoint.ServiceEndpoint;
exports.ServiceEndpointId = types_did_document_serviceEndpoint.ServiceEndpointId;
exports.ServiceEndpointOrigin = types_did_document_serviceEndpoint.ServiceEndpointOrigin;
exports.ServiceEndpointOrigins = types_did_document_serviceEndpoint.ServiceEndpointOrigins;
exports.ServiceEndpointType = types_did_document_serviceEndpoint.ServiceEndpointType;
exports.ServiceEndpointValue = types_did_document_serviceEndpoint.ServiceEndpointValue;
exports.ServiceEndpoints = types_did_document_serviceEndpoint.ServiceEndpoints;
exports.ServiceEndpointsType = types_did_document_serviceEndpoint.ServiceEndpointsType;
exports.SuffixServiceEndpointId = types_did_document_serviceEndpoint.SuffixServiceEndpointId;
exports.UnknownServiceEndpoint = types_did_document_serviceEndpoint.UnknownServiceEndpoint;
exports.createServiceEndpoint = types_did_document_serviceEndpoint.createServiceEndpoint;
exports.CheqdMainnetVerificationMethodSignature = types_did_onchain_verificationMethodSignature.CheqdMainnetVerificationMethodSignature;
exports.CheqdTestnetVerificationMethodSignature = types_did_onchain_verificationMethodSignature.CheqdTestnetVerificationMethodSignature;
exports.VerificationMethodSignature = types_did_onchain_verificationMethodSignature.VerificationMethodSignature;
exports.Controllers = types_did_onchain_controllers.Controllers;
exports.DidKey = types_did_onchain_didKey.DidKey;
exports.DidKeyBBSPlusPublicKey = types_did_onchain_didKey.DidKeyBBSPlusPublicKey;
exports.DidKeyBBSPublicKey = types_did_onchain_didKey.DidKeyBBSPublicKey;
exports.DidKeyEd25519PublicKey = types_did_onchain_didKey.DidKeyEd25519PublicKey;
exports.DidKeyPSPublicKey = types_did_onchain_didKey.DidKeyPSPublicKey;
exports.DidKeySecp256k1PublicKey = types_did_onchain_didKey.DidKeySecp256k1PublicKey;
exports.DidKeySr25519PublicKey = types_did_onchain_didKey.DidKeySr25519PublicKey;
exports.DidKeyValue = types_did_onchain_didKey.DidKeyValue;
exports.DidKeyX25519PublicKey = types_did_onchain_didKey.DidKeyX25519PublicKey;
exports.DidKeys = types_did_onchain_didKey.DidKeys;
exports.DidKeysList = types_did_onchain_didKey.DidKeysList;
exports.DidMethodKeyPublicKey = types_did_onchain_typedDid_didMethodKey_didMethodKeyPublicKey.DidMethodKeyPublicKey;
exports.VerificationMethodRef = types_did_document_verificationMethodRef.VerificationMethodRef;
exports.VerificationRelationship = types_did_onchain_verificationRelationship.VerificationRelationship;
exports.StoredDidDetails = StoredDidDetails;
exports.StoredOffchainDidDetails = StoredOffchainDidDetails;
exports.StoredOnchainDidDetails = StoredOnchainDidDetails;
//# sourceMappingURL=index.cjs.map
