import { BigNumber } from '@ethersproject/bignumber'; import { SwapTypes, SwapV2, Swap, SwapInfo } from './types'; /** * @returns an array of deduplicated token addresses used in the provided swaps */ export declare const getTokenAddressesForSwap: (swaps: Swap[]) => string[]; /** * Formats a sequence of swaps to the format expected by the Balance Vault. * @dev Intermediate swaps' amounts are replaced with the sentinel value of zero * and exact output sequences are reversed. * @param swapKind - a SwapTypes enum for whether the swap has an exact input or exact output * @param sequence - a sequence of swaps which form a path from the input token to the output token * @param tokenAddresses - an array of all the token address which are involved in the batchSwap * @returns */ export declare const formatSequence: (swapKind: SwapTypes, sequence: Swap[], tokenAddresses: string[]) => SwapV2[]; export declare function formatSwaps(swapsOriginal: Swap[][], swapType: SwapTypes, swapAmount: BigNumber, tokenIn: string, tokenOut: string, returnAmount: BigNumber, returnAmountConsideringFees: BigNumber, marketSp: string): SwapInfo;