import * as ModelsCryptoEcc from '../crypto/eccCryptoModels'; import * as ModelsCryptoEd25519 from '../crypto/ed25519CryptoModels'; import * as ModelsCryptoAsymmetric from '../crypto/asymmetricModels'; import * as ModelsCryptoAes from '../crypto/aesCryptoModels'; import * as ModelsCryptoGeneric from '../crypto/genericCryptoModels'; /** Brand signifiying a valid value - assigned by using toPublicKey */ declare enum PublicKeyBrand { _ = "" } /** Brand signifiying a valid value - assigned by using toPrivateKey */ declare enum PrivateKeyBrand { _ = "" } /** Brand signifiying a valid value - assigned by using toSignature */ declare enum SignatureBrand { _ = "" } /** a public key string - formatted correctly for the chain */ declare type PublicKey = (string & PublicKeyBrand) | any; /** a private key string - formatted correctly for the chain */ declare type PrivateKey = (string & PrivateKeyBrand) | any; /** a signature string - formatted correcly for the chain */ declare type Signature = string & SignatureBrand; declare type KeyPair = { publicKey: PublicKey; privateKey: PrivateKey; privateKeyEncrypted?: ModelsCryptoGeneric.EncryptedDataString; }; declare type AccountKeysStruct = { publicKeys: { active: PublicKey; }; privateKeys: { active: PrivateKey | ModelsCryptoGeneric.EncryptedDataString; }; }; declare enum CryptoCurve { Secp256k1 = "secp256k1", Ed25519 = "ed25519" } export { AccountKeysStruct, CryptoCurve, KeyPair, ModelsCryptoAes, ModelsCryptoAsymmetric, ModelsCryptoEcc, ModelsCryptoEd25519, ModelsCryptoGeneric, PrivateKey, PrivateKeyBrand, PublicKey, PublicKeyBrand, Signature, SignatureBrand, };