import BigNumber from 'bignumber.js'; import { ProviderController } from '../../provider'; import { CoinInfo } from '../../types/chain'; import { Price, PriceChannel } from '../interfaces'; declare abstract class ABCUniswap implements PriceChannel { static BATCH_SIZE: number; readonly config: Record>; readonly providerController: ProviderController; constructor(config: Record>, providerController: ProviderController); pricing(coins: Array): Promise>; callContract(chainCode: string, contract: string, calls: Array): Promise>; abstract getContract(configPerChain: Record): string; abstract encodeCallData(coin: CoinInfo, path: Array): string; } declare class UniswapV2 extends ABCUniswap { getContract(configPerChain: Record): string; encodeCallData(coin: CoinInfo, path: Array): string; } declare class UniswapV3 extends ABCUniswap { getContract(configPerChain: Record): string; encodeCallData(coin: CoinInfo, path: Array): string; } export { UniswapV2, UniswapV3 };