import { ITatumSdkContainer, Network, TatumSdkWalletProvider } from '@tatumio/tatum'; import { TronTxPayload, TronWallet, XpubWithMnemonic } from './types'; export declare class TronWalletProvider extends TatumSdkWalletProvider { private readonly tronRpc; constructor(tatumSdkContainer: ITatumSdkContainer); /** * Generates a mnemonic seed phrase. * @returns {string} A mnemonic seed phrase. */ generateMnemonic(): string; /** * Generates an extended public key (xpub) based on a mnemonic and a derivation path. * If no mnemonic is provided, it is generated. * If no derivation path is provided, default is used. * @param {string} [mnemonic] - The mnemonic seed phrase. * @param {string} [path] - The derivation path. * @returns {XpubWithMnemonic} An object containing xpub, mnemonic, and derivation path. */ generateXpub(mnemonic?: string, path?: string): Promise; /** * Generates a private key based on a mnemonic, index, and a derivation path. * If no derivation path is provided, default is used. * @param {string} mnemonic - The mnemonic seed phrase. * @param {number} index - The index to derive the private key from. * @param {string} [path] - The derivation path. * @returns {string} A private key in string format. */ generatePrivateKeyFromMnemonic(mnemonic: string, index: number, path?: string): Promise; /** * Generates an address based on a mnemonic, index, and a derivation path. * If no derivation path is provided, default is used. * @param {string} mnemonic - The mnemonic seed phrase. * @param {number} index - The index to derive the address from. * @param {string} [path] - The derivation path. * @returns {string} An address in string format. */ generateAddressFromMnemonic(mnemonic: string, index: number, path?: string): Promise; /** * Generates an address from an extended public key (xpub) and an index. * @param {string} xpub - The extended public key. * @param {number} index - The index to derive the address from. * @returns {string} An address in string format. */ generateAddressFromXpub(xpub: string, index: number): any; /** * Generates an address from a given private key. * @param {string} privateKey - The private key in string format. * @returns {string} An address in string format. */ generateAddressFromPrivateKey(privateKey: string): any; /** * Generates a Tron wallet, which includes an address, private key, and a mnemonic. * @returns {TronWallet} An object containing address, private key, and mnemonic. */ getWallet(): Promise; /** * Signs and broadcasts a Tron transaction payload. * @param {TronTxPayload} payload - The Tron transaction payload, which includes private key and transaction details. * @returns {Promise} A promise that resolves to the transaction hash. */ signAndBroadcast(payload: TronTxPayload): Promise; private getTx; private getTransactionValue; private getHeaderInfo; supportedNetworks: Network[]; }