import { BigNumber } from "@ethersproject/bignumber"; import { ChainId, TradeType } from "@onyxcoindev/sdk-core-test"; import { CurrencyAmount } from "../../../util"; import { AlphaRouterConfig } from "../alpha-router"; import { IGasModel } from "../gas-models"; import { RouteWithValidQuote, V3RouteWithValidQuote } from "../entities/route-with-valid-quote"; export type BestSwapRoute = { quote: CurrencyAmount; quoteGasAdjusted: CurrencyAmount; estimatedGasUsed: BigNumber; estimatedGasUsedUSD: CurrencyAmount; estimatedGasUsedQuoteToken: CurrencyAmount; estimatedGasUsedGasToken?: CurrencyAmount; routes: RouteWithValidQuote[]; }; export declare function getBestSwapRoute(chainId: ChainId, amount: CurrencyAmount, percents: number[], routesWithValidQuotes: RouteWithValidQuote[], routeType: TradeType, routingConfig: AlphaRouterConfig, v3GasModel?: IGasModel): Promise; export declare function getBestSwapRouteBy(chainId: ChainId, routeType: TradeType, percentToQuotes: { [percent: number]: RouteWithValidQuote[]; }, percents: number[], by: (routeQuote: RouteWithValidQuote) => CurrencyAmount, routingConfig: AlphaRouterConfig, v3GasModel?: IGasModel): Promise;