import { DIDDocument } from 'did-resolver'; import { G as GenerateKeyPairOptions, V as VerificationType } from '../../types-CDXCKKtg.js'; type IssuedDIDOption = GenerateKeyPairOptions & { domain?: string; }; declare enum WellKnownEnum { ALSO_KNOWN_AS = "alsoKnownAs", ASSERTION_METHOD = "assertionMethod", AUTHENTICATION = "authentication", CAPABILITY_DELEGATION = "capabilityDelegation", CAPABILITY_INVOCATION = "capabilityInvocation", CONTROLLER = "controller", KEY_AGRREEMENT = "keyAgreement", SERVICE = "service", VERIFICATION_METHOD = "verificationMethod" } type WellKnownAttributeType = Extract; declare const WellKnownAttribute: readonly WellKnownAttributeType[]; type KeyPair = BBSKeyPair | ECDSAKeyPair | MultikeyKeyPair; type BBSKeyPair = { id: string; type: VerificationType; controller: string; publicKeyBase58?: string; }; type ECDSAKeyPair = { id: string; type: VerificationType; controller: string; publicKeyHex?: string; publicKeyMultibase?: string; blockchainAccountId?: string; }; type MultikeyKeyPair = { '@context'?: string; id: string; type: VerificationType.Multikey; controller: string; publicKeyMultibase?: string; }; type Bbs2023KeyPair = MultikeyKeyPair; type EcdsaSd2023KeyPair = MultikeyKeyPair; type PrivateKeyPair = BBSPrivateKeyPair | ECDSAPrivateKeyPair | Bbs2023PrivateKeyPair | EcdsaSd2023PrivateKeyPair; type BBSPrivateKeyPair = BBSKeyPair & { seedBase58?: string; privateKeyBase58?: string; }; type ECDSAPrivateKeyPair = ECDSAKeyPair & { path?: string; privateKeyHex?: string; privateKeyMultibase?: string; mnemonics?: string; }; type Bbs2023PrivateKeyPair = Bbs2023KeyPair & { seedBase58?: string; secretKeyMultibase?: string; }; type EcdsaSd2023PrivateKeyPair = EcdsaSd2023KeyPair & { secretKeyMultibase?: string; }; type DidWellKnownDocument = DIDDocument & { [key in WellKnownAttributeType]?: string[]; }; type QueryDidDocumentOption = { domain?: Readonly; did?: Readonly; }; type QueryDidDocument = { did: string; wellKnownDid: DidWellKnownDocument | undefined; }; type IssuedDID = { wellKnownDid: DidWellKnownDocument; didKeyPairs: PrivateKeyPair; }; export { type BBSKeyPair, type BBSPrivateKeyPair, type Bbs2023KeyPair, type Bbs2023PrivateKeyPair, type DidWellKnownDocument, type ECDSAKeyPair, type ECDSAPrivateKeyPair, type EcdsaSd2023KeyPair, type EcdsaSd2023PrivateKeyPair, type IssuedDID, type IssuedDIDOption, type KeyPair, type MultikeyKeyPair, type PrivateKeyPair, type QueryDidDocument, type QueryDidDocumentOption, WellKnownAttribute, type WellKnownAttributeType, WellKnownEnum };