/** * Cleans numeric string by removing thousand separators * @param amount - The amount to clean (string or number) */ export declare function cleanAmount(amount: string | number): string; /** * Convert token amount to USD * @param {string|number} tokenAmount - The amount of tokens * @param {string|number} tokenPrice - The price of one token in USD * @returns {BigNumber} - The equivalent amount in USD */ export declare function convertTokenAmountToUSD(tokenAmount: string | number, tokenPrice: string | number, maxDecimals?: number): string; /** * Convert USD to token amount * @param {string|number} usdAmount - The amount in USD * @param {string|number} tokenPrice - The price of one token in USD * @param {number} maxDecimals - The maximum number of decimals * @returns {BigNumber} - The equivalent amount of tokens */ export declare function convertUSDToTokenAmount(usdAmount: string | number, tokenPrice: string | number, maxDecimals: number): string; interface TokenWithBalance { balance: string; usdPrice: number; price24hChange: number; } export declare const calculateTotal24hChange: (tokensWithBalance: TokenWithBalance[], totalUSDAmount: number | string) => number; export {};