import { KeyringPair } from '@polkadot/keyring/types'; import { DotAddressFormat, DefaultKeys, Ed25519KeyPair, KeyPairOptions } from '@bitgo-beta/sdk-core'; export declare class KeyPair extends Ed25519KeyPair { /** * 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); /** * Helper function to create the KeyringPair for signing a dot transaction. * * @returns {KeyringPair} dot KeyringPair * * @see https://polkadot.js.org/docs/api/start/keyring */ protected createPolkadotPair(): KeyringPair; /** // https://wiki.polkadot.network/docs/learn-accounts#address-format * Returns the address in either mainnet polkadot format (starts with 1) * or substrate format used for westend (starts with 5) */ getAddress(format: DotAddressFormat): string; /** @inheritdoc */ getKeys(): DefaultKeys; /** @inheritdoc */ recordKeysFromPrivateKeyInProtocolFormat(prv: string): DefaultKeys; /** @inheritdoc */ recordKeysFromPublicKeyInProtocolFormat(pub: string): DefaultKeys; } //# sourceMappingURL=keyPair.d.ts.map