import BigNumber from '../utils/FractionalBigNumber'; import { PoolData } from './types'; export declare const METHOD_MIN = "min"; export declare const METHOD_MAX = "max"; export declare class Dexes { chainId: number; constructor(chainId?: number | undefined); /** * Get pools * @param contractAddress * @param sources */ getTokenPools(contractAddress: string, sources?: string[]): Promise; /** * Get token price in ETH * @param contractAddress * @param blockNumber * @param method * @param sources */ getTokenPrice(contractAddress: string, blockNumber?: number | null, method?: string, sources?: string[]): Promise; /** * Get token prices in ETH * @param contractAddress * @param blockNumber * @param sources */ getTokenPrices(contractAddress: string, blockNumber?: number | null, sources?: string[]): Promise; /** * Get eth USD price * @param blockNumber * @param method * @param sources */ getEthPrice(blockNumber?: number | null, method?: string, sources?: string[]): Promise; /** * Get ETH prices in USD * @param blockNumber * @param sources */ getEthPrices(blockNumber?: null | number, sources?: string[]): Promise; /** * * @param sources */ _getServices(sources?: string[]): any[]; }