export declare class Ed25519Keypair { static fromLibsodiumPrivkey(libsodiumPrivkey: Uint8Array): Ed25519Keypair; readonly privkey: Uint8Array; readonly pubkey: Uint8Array; constructor(privkey: Uint8Array, pubkey: Uint8Array); toLibsodiumPrivkey(): Uint8Array; } export declare class Ed25519 { /** * Generates a keypair deterministically from a given 32 bytes seed. * * This seed equals the Ed25519 private key. * For implementation details see crypto_sign_seed_keypair in * https://download.libsodium.org/doc/public-key_cryptography/public-key_signatures.html * and diagram on https://blog.mozilla.org/warner/2011/11/29/ed25519-keys/ */ static makeKeypair(privKey: Uint8Array): Promise; static createSignature(message: Uint8Array, keyPair: Ed25519Keypair): Promise; static verifySignature(signature: Uint8Array, message: Uint8Array, pubkey: Uint8Array): Promise; }