import { PoolKey } from '../types'; import { ShiftMode } from './ShiftMode'; export declare abstract class UniformDistribution { static query(key: PoolKey, roundedTick: bigint, twapTick: bigint, spotPriceTick: bigint, ldfParams: string, ldfState: string): { liquidityDensityX96_: bigint; cumulativeAmount0DensityX96: bigint; cumulativeAmount1DensityX96: bigint; newLdfState: string; shouldSurge: boolean; }; static computeSwap(key: PoolKey, inverseCumulativeAmountInput: bigint, totalLiquidity: bigint, zeroForOne: boolean, exactIn: boolean, twapTick: bigint, spotPriceTick: bigint, ldfParams: string, ldfState: string): { success: boolean; roundedTick: bigint; cumulativeAmount0_: bigint; cumulativeAmount1_: bigint; swapLiquidity: bigint; }; static cumulativeAmount0(key: PoolKey, roundedTick: bigint, totalLiquidity: bigint, twapTick: bigint, spotPriceTick: bigint, ldfParams: string, ldfState: string): bigint; static cumulativeAmount1(key: PoolKey, roundedTick: bigint, totalLiquidity: bigint, twapTick: bigint, spotPriceTick: bigint, ldfParams: string, ldfState: string): bigint; static _decodeState(ldfState: string): { initialized: boolean; lastTickLower: bigint; }; static _encodeState(lastTickLower: bigint): string; } export declare abstract class LibUniformDistribution { static query(roundedTick: bigint, tickSpacing: bigint, tickLower: bigint, tickUpper: bigint): { liquidityDensityX96_: bigint; cumulativeAmount0DensityX96: bigint; cumulativeAmount1DensityX96: bigint; }; static cumulativeAmount0(roundedTick: bigint, totalLiquidity: bigint, tickSpacing: bigint, tickLower: bigint, tickUpper: bigint, isCarpet: boolean): bigint; static cumulativeAmount1(roundedTick: bigint, totalLiquidity: bigint, tickSpacing: bigint, tickLower: bigint, tickUpper: bigint, isCarpet: boolean): bigint; static inverseCumulativeAmount0(cumulativeAmount0_: bigint, totalLiquidity: bigint, tickSpacing: bigint, tickLower: bigint, tickUpper: bigint, isCarpet: boolean): { success: boolean; roundedTick: bigint; }; static inverseCumulativeAmount1(cumulativeAmount1_: bigint, totalLiquidity: bigint, tickSpacing: bigint, tickLower: bigint, tickUpper: bigint, isCarpet: boolean): { success: boolean; roundedTick: bigint; }; static liquidityDensityX96(roundedTick: bigint, tickSpacing: bigint, tickLower: bigint, tickUpper: bigint): bigint; static computeSwap(inverseCumulativeAmountInput: bigint, totalLiquidity: bigint, zeroForOne: boolean, exactIn: boolean, tickSpacing: bigint, tickLower: bigint, tickUpper: bigint): { success: boolean; roundedTick: bigint; cumulativeAmount0_: bigint; cumulativeAmount1_: bigint; swapLiquidity: bigint; }; static decodeParams(twapTick: bigint, tickSpacing: bigint, ldfParams: string): { tickLower: bigint; tickUpper: bigint; shiftMode: ShiftMode; }; }