import { ethers } from 'ethers'; import { UniswapV3 as UniswapV3Helper } from '../Fct/plugins/uniswapV3/helpers/UniswapV3'; import type { OneInchHelper as InchHelper } from './plugins/1inch/helpers'; import { Sushiswap as SushiswapHelper } from './plugins/sushiswap/helpers/Sushiswap'; import { Uniswap as UniswapHelper } from './plugins/uniswap/helpers/Uniswap'; export declare const getTokenDecimals: ({ address, provider, }: { address: string; provider: ethers.providers.Provider; }) => Promise; export declare const getSwapPath: ({ chainId, tokenIn, tokenOut, protocol, helper, service, }: { chainId: string; tokenIn: { address: string; amount?: string; }; tokenOut: { address: string; amount?: string; }; protocol: 'UNISWAP_V2' | 'UNISWAP_V3' | 'SUSHISWAP' | '1INCH'; helper?: UniswapHelper | UniswapV3Helper | InchHelper | SushiswapHelper | undefined; service?: any; }) => Promise<{ path: string[]; amountIn: string | undefined; amountOut: string | undefined; value?: undefined; fee?: undefined; } | { path: string[]; amountIn: string; amountOut: string; value: string | undefined; fee?: undefined; } | { path: string; amountIn: string | undefined; amountOut: string | undefined; fee: number; value?: undefined; } | { path: string | undefined; amountIn: string | undefined; amountOut: string | undefined; value?: undefined; fee?: undefined; } | undefined>;