export default class KeyPair { publicKey: Uint8Array; privateKey: Uint8Array; constructor(publicKey: Uint8Array, privateKey: Uint8Array); inspect(): string; static fromPrivateKey(priv: string): KeyPair; static fromPlain(j: any): KeyPair; static fromSerialized(s: string): KeyPair; static fromRandom(): KeyPair; static fromSecretPhrase(phrase: string): KeyPair; plain(): { public: string; private: string; }; serialize(): string; sign(s: string): string; static verifySignature(publicKey: string, message: string, signature: string): boolean; static isValidPublicKey(key: string): boolean; static isValidHexString(key: string): boolean; static decodePublicKey(input: string): Uint8Array; static encodePublicKey(key: Uint8Array): string; getPublicKey(): string; getPrivateKey(): string; }