import { Currency, CurrencyAmount } from '@pancakeswap/sdk'; import { Pool, Route } from '../../v3-router/types'; export type Edge = { vertice0: Vertice; vertice1: Vertice; pool: Pool; }; export type Vertice = { currency: Currency; edges: Edge[]; }; export type Graph = { vertices: Vertice[]; edges: Edge[]; getVertice: (currency: Currency) => Vertice | undefined; getEdge: (pool: Pool, vertA: Vertice, vertB: Vertice) => Edge | undefined; hasValidRouteToVerticeWithinHops: (vertice: Vertice, target: Vertice, hops: number, visitedVertices?: Set) => boolean; applySwap: (params: { route: Pick & { inputAmount?: CurrencyAmount; outputAmount?: CurrencyAmount; }; isExactIn: boolean; }) => Promise<{ gasCost: bigint; quote: CurrencyAmount; amount: CurrencyAmount; }>; }; //# sourceMappingURL=graph.d.ts.map