export default class WalletManagerTron extends WalletManager { /** * Multiplier for normal fee rate calculations (in %). * * @protected * @type {bigint} */ protected static _FEE_RATE_NORMAL_MULTIPLIER: bigint; /** * Multiplier for fast fee rate calculations (in %). * * @protected * @type {bigint} */ protected static _FEE_RATE_FAST_MULTIPLIER: bigint; /** * Creates a new wallet manager for the tron blockchain. * * @param {string | Uint8Array} seed - The wallet's BIP-39 seed phrase. * @param {TronWalletConfig} [config] - The configuration object. */ constructor(seed: string | Uint8Array, config?: TronWalletConfig); /** * The tron wallet configuration. * * @protected * @type {TronWalletConfig} */ protected _config: TronWalletConfig; /** * The tron web client. * * @protected * @type {ReturnType} */ protected _tronWeb: ReturnType; /** * Returns the wallet account at a specific index (see [BIP-44](https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki)). * * @example * // Returns the account with derivation path m/44'/195'/0'/0/1 * const account = await wallet.getAccount(1); * @param {number} [index] - The index of the account to get (default: 0). * @returns {Promise} The account. */ getAccount(index?: number): Promise; /** * Returns the wallet account at a specific BIP-44 derivation path. * * @example * // Returns the account with derivation path m/44'/195'/0'/0/1 * const account = await wallet.getAccountByPath("0'/0/1"); * @param {string} path - The derivation path (e.g. "0'/0/0"). * @returns {Promise} The account. */ getAccountByPath(path: string): Promise; /** * Builds the account config, injecting the manager's shared tron web client so accounts * reuse it instead of opening their own. * * @private * @returns {TronWalletConfig} The account configuration. */ private _accountConfig; /** * Returns the current fee rates. * * @returns {Promise} The fee rates. */ getFeeRates(): Promise; } export type FeeRates = import("@tetherto/wdk-wallet").FeeRates; export type TronWalletConfig = import("./wallet-account-tron.js").TronWalletConfig; import WalletManager from '@tetherto/wdk-wallet'; import WalletAccountTron from './wallet-account-tron.js';