import { ChainId, Currency, Price, Token } from '@hyperswap-labs/sdk-core'; import { Pool } from './pool'; /** * Represents a list of pools through which a swap can occur */ export declare class Route { readonly pools: Pool[]; readonly tokenPath: Token[]; readonly input: Currency; readonly output: Currency; private _midPrice; constructor(pools: Pool[], input: Currency, output?: Currency); get chainId(): ChainId | number; /** * Returns the token representation of the input currency. If the input currency is Ether, returns the wrapped ether token. */ get inputToken(): Token; /** * Returns the token representation of the output currency. If the output currency is Ether, returns the wrapped ether token. */ get outputToken(): Token; /** * Returns the mid price of the route */ get midPrice(): Price; }