import { BestAmountWithPaths, Path, RoutePools, SwapPath } from './types'; import { BigNumber } from 'ethers'; import { IRouter } from './contracts/Router'; import { RouteHelper } from './contracts'; export declare function normalizeRoutePools(routePools: RouteHelper.RoutePoolsStructOutput): RoutePools; export declare function findAllPossiblePaths(tokenIn: string, tokenOut: string, routePools: RoutePools, baseTokens: string[]): Path[]; export declare function findBestAmountFromPaths(chainId: number, paths: Path[], amountIn: BigNumber): Promise; export declare function toSwapPaths(paths: SwapPath[], to: string): IRouter.SwapPathStruct[];