import {Signer, Contract, BigNumberish} from 'ethers'; import {IUniswapV2Pair} from '../typechain/IUniswapV2Pair'; import {BigNumber} from 'ethers'; import {IUniswapV2Factory} from '../typechain/IUniswapV2Factory'; import {SignerOrProvider} from './core'; export declare function deployUniswapFactory( signer: Signer, feeToSetter: string ): Promise; export declare function createUniswapPair( factory: Contract, tokenA: string, tokenB: string ): Promise; export declare function getUniswapPair( signer: SignerOrProvider, pairAddress: string ): IUniswapV2Pair; interface ERC20 { balanceOf(address: string): Promise; } export declare function estimateInput( pairAddress: string, input: ERC20, output: ERC20, amountOut: BigNumberish ): Promise; export declare function estimateOutput( pairAddress: string, input: ERC20, output: ERC20, amountInput: BigNumberish ): Promise; export declare function quote( pairAddress: string, tokenA: ERC20, tokenB: ERC20, amountA: BigNumberish ): Promise; export {};