import { KeyringPair } from '@polkadot/keyring/types';
import { Ed25519KeyPair } from '../baseCoin';
import { AddressFormat } from '../baseCoin/enum';
import { DefaultKeys, KeyPairOptions } from '../baseCoin/iface';
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;
    /** @inheritdoc */
    getAddress(format?: AddressFormat): string;
    /** @inheritdoc */
    getKeys(): DefaultKeys;
    /** @inheritdoc */
    recordKeysFromPrivateKeyInProtocolFormat(prv: string): DefaultKeys;
    /** @inheritdoc */
    recordKeysFromPublicKeyInProtocolFormat(pub: string): DefaultKeys;
}
//# sourceMappingURL=keyPair.d.ts.map