import { Address } from "../../common/tokenList"; import { RawRoute } from "../core/getRoute"; export interface FetchQuoteResponse { data: RawRoute; amountOut: string; message?: any; priceImpactPercentage: number; rebate?: string; routerAddress: Address; swapFee: string; tokenInUSD: number; tokenOutUSD: number; } export function fetchQuote( path: string, params: { tokenIn: Address; tokenOut: Address; amountIn: string } ): Promise;