import type { Currency } from '@crypto-dex-sdk/currency'; import type { BaseTrade, RouteDescription } from '../BaseTrade'; import type { RouteLeg } from './types'; import { Amount, Price, Token } from '@crypto-dex-sdk/currency'; import { Percent } from '@crypto-dex-sdk/math'; import { TradeVersion } from '../TradeVersion'; type WriteArgs = any[]; export declare class AggregatorTrade implements BaseTrade { readonly chainId: number; readonly inputAmount: Amount; readonly outputAmount: Amount; readonly executionPrice: Price; readonly priceImpact: Percent; readonly routeLegs: RouteLeg[]; readonly callMethod: string; readonly writeArgs: WriteArgs; readonly version = TradeVersion.AGGREGATOR; constructor(chainId: number, inputAmount: Amount, outputAmount: Amount, executionPrice: Price, priceImpact: Percent, routeLegs: RouteLeg[], callMethod: string, writeArgs: WriteArgs); get descriptions(): RouteDescription[]; minimumAmountOut(slippageTolerance: Percent): Amount; static bestTradeFromAPIRoute(chainId: number, fromToken: Currency, toToken: Currency, amountIn: string, amountOut: string, priceImpact: number, routeLegs: RouteLeg[], callMethod: string, writeArgs: WriteArgs): AggregatorTrade; } export {}; //# sourceMappingURL=AggregatorTrade.d.ts.map