/** * DEX Aggregator Integration (Odos) * * Routes through ALL DEXes on Base (Aerodrome V2+CL, Uniswap, Sushiswap, etc.) * via the Odos Smart Order Router. Free, no API key needed. * * For private swaps: userAddr and receiver are set to RelayAdapt. */ export declare const ODOS_ROUTER = "0x19cEeAd7105607Cd444F5ad10dd51356436095a1"; export interface AggregatorQuote { amountIn: bigint; amountOut: bigint; minAmountOut: bigint; priceImpact: number; routerAddress: string; pathId: string; gasEstimate: number; } /** * Get a swap quote from the Odos aggregator. * Free, no API key needed. Routes across all DEXes on Base. */ export declare function getAggregatorQuote(tokenIn: string, tokenOut: string, amountIn: bigint, slippagePercent: number, userAddr: string): Promise; /** * Build swap calldata from an Odos quote. * Returns [approve, swap] calls ready for a UserOp or RelayAdapt batch. */ export declare function buildAggregatorSwapCalls(quote: AggregatorQuote, tokenIn: string, receiver: string): Promise>;