import BigNumber from "bignumber.js"; /** * @notice Computes the result of swapping some amount in, or amount out, given the parameters of the swap * @dev The fee, plus the amount in, will never exceed the amount remaining if the swap's `amountSpecified` is positive * @param sqrtRatioCurrent The current sqrt price of the pool * @param sqrtRatioTarget The price that cannot be exceeded, from which the direction of the swap is inferred * @param liquidity The usable liquidity * @param amountRemaining How much input or output amount is remaining to be swapped in/out * @param fee The fee taken from the input amount * @return sqrtRatioNext The price after swapping the amount in/out, not to exceed the price target * @return amountIn The amount to be swapped in, of either token0 or token1, based on the direction of the swap * @return amountOut The amount to be received, of either token0 or token1, based on the direction of the swap * @return feeAmount The amount of input that will be taken as a fee */ export declare function computeSwapStep(sqrtPriceCurrent: BigNumber, sqrtPriceTarget: BigNumber, liquidity: BigNumber, amountRemaining: BigNumber, fee: number, zeroForOne: boolean): BigNumber[]; //# sourceMappingURL=swapMath.helper.d.ts.map