import { IToken } from '../models/IToken'; import { TPlatform } from '../models/TPlatform'; import { AmmV2ExchangeBase } from './TokenExchanges/AmmV2ExchangeBase'; import { Web3Client } from '../clients/Web3Client'; import { IBlockchainExplorer } from '../explorer/IBlockchainExplorer'; export declare class TokenExchangeService { platform: TPlatform; client: Web3Client; explorer: IBlockchainExplorer; exchange: AmmV2ExchangeBase; stables: string[]; constructor(platform: TPlatform); calcUSD(from: string | Partial, fromAmount: number | bigint, date?: Date): Promise<{ from: IToken & { amount: any; }; to: IToken & { amount: any; }; priceImpact: number; }>; calc(from: string, to: string, fromAmount: bigint): Promise<{ from: IToken & { amount: any; }; to: IToken & { amount: any; }; priceImpact: number; }>; }