import * as Interfaces from './Interfaces'; import { Wallet } from './Wallet'; export * from './Interfaces'; export * from './Wallet'; export * from './RgbError'; export { Interfaces, Wallet }; /** * Generates new keys for a wallet. * @param bitcoinNetwork - The Bitcoin network to use (MAINNET, TESTNET, TESTNET4, REGTEST, SIGNET) * @returns Promise resolving to Keys containing mnemonic, xpub, accountXpubVanilla, accountXpubColored, and masterFingerprint * @throws {RgbError} Throws RgbError with a code from {@link RgbLibErrors} if: * - Invalid Bitcoin network * - Key generation fails */ export declare function generateKeys(bitcoinNetwork: Interfaces.BitcoinNetwork): Promise; /** * Restores a wallet from a mnemonic. * @param bitcoinNetwork - The Bitcoin network to use (MAINNET, TESTNET, TESTNET4, REGTEST, SIGNET) * @param mnemonic - The mnemonic to restore the wallet from * @returns Promise resolving to Keys containing mnemonic, xpub, accountXpubVanilla, accountXpubColored, and masterFingerprint * @throws {RgbError} Throws RgbError with a code from {@link RgbLibErrors} if: * - Invalid Bitcoin network * - Invalid mnemonic * - Key restoration fails */ export declare function restoreKeys(bitcoinNetwork: Interfaces.BitcoinNetwork, mnemonic: string): Promise; /** * Restores a wallet from a backup file. * @param path - The path to the backup file * @param password - The password to decrypt the backup * @returns Promise resolving to void on success * @throws {RgbError} Throws RgbError with a code from {@link RgbLibErrors} if: * - Invalid backup path * - Invalid password * - Backup restoration fails */ export declare function restoreBackup(path: string, password: string): Promise; export declare function decodeInvoice(invoice: string): Promise; //# sourceMappingURL=index.d.ts.map