import { DefaultKeys, KeyPairOptions, Secp256k1ExtendedKeyPair } from '@bitgo/sdk-core'; /** * XRP keys and address management. */ 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); /** @inheritdoc */ getKeys(): DefaultKeys; /** @inheritdoc */ getAddress(): string; /** * Generates a signature for an arbitrary string with the current private key using keccak256 * hashing algorithm. Throws if there is no private key. * * @param {string} message to produce a signature for * @returns {Buffer} The signature as a buffer */ signMessage(message: string): Buffer; /** * Verifies a message signature using the current public key. * * @param {string} message signed * @param {Buffer} signature to verify * @returns {boolean} True if the message was signed with the current key pair */ verifySignature(message: string, signature: Buffer): boolean; } //# sourceMappingURL=keyPair.d.ts.map