import BN from 'bn.js'; import { ClmmPool, PriceProvider } from '../entities'; import { BigintIsh } from '../../core'; /** * Calculate swap amount to balance assets with formula * x + y = a; ration = y/x * x = a / (1 + ratio) * y = a - x */ export declare class ZapCalculator { static zapAmount({ pool, tickLower, tickUpper, amount, isCoinX, priceProvider, }: { pool: ClmmPool; tickLower: number; tickUpper: number; amount: BigintIsh; isCoinX: boolean; priceProvider: PriceProvider; }): Promise; }