import { BigNumber } from '@ethersproject/bignumber'; import type { JsonRpcProvider } from '@ethersproject/providers'; import { Trade } from '@uniswap/router-sdk'; import { Currency, TradeType } from '@uniswap/sdk-core'; import { TradeContext } from 'simple-sushiswap-sdk'; export type AnyTrade = Trade; export interface SwapCall { address: string; calldata: string; value: string; } /** * Returns the swap calls that can be used to make the trade * @param trade trade to execute * @param allowedSlippage user allowed slippage * @param recipientAddressOrName the ENS name or address of the recipient of the swap output * @param signatureData the signature data of the permit of the input token amount, if available */ export declare function getSwapCallV2Params({ library, account, chainId, trade, deadline, }: { library: JsonRpcProvider; account: string; chainId: number; trade: TradeContext | undefined; deadline: BigNumber | undefined; }): { address: string; params: import("../../../uniswap/helpers").SwapCallParamsIn; value: string; } | undefined;