import { KeyPairBase } from './key_pair_base.js'; import { KeyPairEd25519 } from './key_pair_ed25519.js'; import { KeyPairSecp256k1 } from './key_pair_secp256k1.js'; import type { KeyPairString } from "@meer-js/types"; export declare abstract class KeyPair extends KeyPairBase { /** * @param curve Name of elliptical curve, case-insensitive * @returns Random KeyPair based on the curve */ static fromRandom(curve: 'ed25519' | 'secp256k1'): KeyPairEd25519 | KeyPairSecp256k1; /** * Creates a key pair from an encoded key string. * @param encodedKey The encoded key string. * @returns {KeyPair} The key pair created from the encoded key string. */ static fromString(encodedKey: KeyPairString): KeyPair; } //# sourceMappingURL=key_pair.d.ts.map