import type { Key, KeyPair, RecoveryCode } from '../types.js'; /** * Generates a Key. * These symmetric keys are always 32 bytes/256 bits long. * This will work for all symmetric algos being used in PK. * The returned buffers are guaranteed to unpooled. * This means the underlying `ArrayBuffer` is safely transferrable. */ declare function generateKey(): Key; /** * Generates KeyPair. * These are Ed25519 keypairs. * The returned buffers are guaranteed to unpooled. * This means the underlying `ArrayBuffer` is safely transferrable. */ declare function generateKeyPair(): KeyPair; /** * Generates KeyPair deterministically from a seed. * The seed has to be a 12 or 24 word BIP39 mnemonic. * The returned buffers are guaranteed to unpooled. * This means the underlying `ArrayBuffer` is safely transferrable. */ declare function generateDeterministicKeyPair(recoveryCode: RecoveryCode): Promise; export { generateKey, generateKeyPair, generateDeterministicKeyPair };