import { Currency, CurrencyAmount } from '@pancakeswap/sdk'; import { PoolState } from './getPool'; export declare const swap: ({ pool, zeroForOne, amountSpecified, sqrtPriceLimitX96, }: { pool: PoolState; zeroForOne: boolean; amountSpecified: bigint; sqrtPriceLimitX96?: bigint; }) => Promise<{ amountCalculated: bigint; sqrtRatioX96: bigint; liquidity: bigint; tickCurrent: number; amountSpecifiedRemaining: bigint; }>; /** * Given a desired input amount of a token, return the computed output * amount and a pool with state updated after the trade */ export declare const getOutputAmount: (pool: PoolState, inputAmount: CurrencyAmount, options?: { sqrtPriceLimitX96?: bigint; exact?: boolean; }) => Promise<[CurrencyAmount, PoolState]>; /** * Given a desired output amount of a token, return the computed input * amount and a pool with state updated after the trade */ export declare const getInputAmount: (pool: PoolState, outputAmount: CurrencyAmount, options?: { sqrtPriceLimitX96?: bigint; exact?: boolean; }) => Promise<[CurrencyAmount, PoolState]>; //# sourceMappingURL=swap.d.ts.map