import { Interface } from '@ethersproject/abi'; import { SwapSide } from '../constants'; import { AdapterExchangeParam, Address, DexExchangeParam, NumberAsString, SimpleExchangeParam } from '../types'; import { IDexTxBuilder } from './idex'; import { SimpleExchange } from './simple-exchange'; import { IDexHelper } from '../dex-helper'; type EtherFiData = void; type eETHPoolDepositParam = []; type weETHWrap = [_eETHAmount: string]; type weETHUnwrap = [_weETHAmount: string]; type EtherFiParam = eETHPoolDepositParam | weETHWrap | weETHUnwrap; export declare class EtherFi extends SimpleExchange implements IDexTxBuilder { static dexKeys: string[]; eETHPoolInterface: Interface; weETHInterface: Interface; needWrapNative: boolean; eETH: string; eETHPool: string; weETH: string; constructor(dexHelper: IDexHelper); is_eETH: (token: string) => boolean; is_weETH: (token: string) => boolean; getSimpleParam(srcToken: string, destToken: string, srcAmount: string, destAmount: string, data: EtherFiData, side: SwapSide): Promise; getDexParam(srcToken: Address, destToken: Address, srcAmount: NumberAsString): DexExchangeParam; getAdapterParam(srcToken: string, destToken: string, srcAmount: string, destAmount: string, data: EtherFiData, side: SwapSide): AdapterExchangeParam; } export {};