import type { Bip32Path } from "../../crypto.js"; import type { IKeyPair } from "../models/IKeyPair"; import type { ISeed } from "../models/ISeed"; /** * The global type for the seed. */ export declare const ED25519_SEED_TYPE: number; /** * Class to help with seeds. */ export declare class Ed25519Seed implements ISeed { /** * The secret key for the seed. * @internal */ private readonly _secretKey; /** * Create a new instance of Ed25519Seed. * @param secretKeyBytes The bytes. */ constructor(secretKeyBytes?: Uint8Array); /** * Create the seed from a Bip39 mnemonic. * @param mnemonic The mnemonic to create the seed from. * @returns A new instance of Ed25519Seed. */ static fromMnemonic(mnemonic: string): Ed25519Seed; /** * Get the key pair from the seed. * @returns The key pair. */ keyPair(): IKeyPair; /** * Generate a new seed from the path. * @param path The path to generate the seed for. * @returns The generated seed. */ generateSeedFromPath(path: Bip32Path): ISeed; /** * Return the key as bytes. * @returns The key as bytes. */ toBytes(): Uint8Array; }