import { DefaultKeys, KeyPairOptions, Secp256k1ExtendedKeyPair } from '@bitgo/sdk-core'; export declare enum addressFormat { testnet = "fuji", mainnet = "avax" } export declare class KeyPair extends Secp256k1ExtendedKeyPair { /** * Public constructor. By default, creates a key pair with a random master seed. * * @param { KeyPairOptions } source Either a master seed, a private key, or a public key */ constructor(source?: KeyPairOptions); /** * Build a keypair from a protocol private key or extended private key. * * @param {string} prv A raw private key */ recordKeysFromPrivateKey(prv: string): void; /** * Build an ECPair from a protocol public key or extended public key. * * @param {string} pub A raw public key */ recordKeysFromPublicKey(pub: string): void; /** * Default keys format is a pair of Uint8Array keys * * @returns { DefaultKeys } The keys in the defined format */ getKeys(): DefaultKeys; /** * Get an Avalanche P-Chain public mainnet address * * @param {string} format - avalanche hrp - select Mainnet(avax) or Testnet(fuji) for the address * @returns {string} The mainnet address derived from the public key */ getAddress(format?: string): string; } //# sourceMappingURL=keyPair.d.ts.map