import { AnyNumber } from '@aptos-labs/ts-sdk'; interface PositionToRemove { positionAddr: string; mintedShare: AnyNumber; minAmount0: AnyNumber; minAmount1: AnyNumber; } interface RemoveSingleAMMLiquidityParams extends PositionToRemove { poolId: string; } interface RemoveMultipleAMMLiquidityParams { poolId: string; positions: PositionToRemove[]; } interface RemoveSingleCLMMLiquidityParams extends PositionToRemove { poolId: string; } interface RemoveMultipleCLMMLiquidityParams { poolId: string; positions: PositionToRemove[]; } interface RemoveSingleStableLiquidityParams { poolId: string; liquidityType: number; position: { positionAddr: string; mintedShare: AnyNumber; amounts: AnyNumber[]; }; } interface RemoveMultipleStableLiquidityParams { poolId: string; liquidityType: number; positions: { positionAddr: string; mintedShare: AnyNumber; amounts: AnyNumber[]; }[]; } interface AddAMMLiquidityParams { poolId: string; amountA: number; amountB: number; } interface AddCLMMLiquidityParams { poolId: string; minPrice: number; maxPrice: number; amountA: number; amountB: number; fee: number; isMaxAmountB: boolean; } interface AddStableLiquidityParams { poolId: string; amounts: number[]; } interface CreateAMMPoolAndAddLiquidityParams { tokenAddress: string[]; fee: number; amounts: number[]; } interface CreateCLMMPoolAndAddLiquidityParams { tokenAddress: string[]; fee: number; amounts: number[]; initialPrice: number; minPrice: number; maxPrice: number; isMaxAmountB: boolean; } interface CreateStablePoolAndAddLiquidityParams { tokenAddress: string[]; fee: number; amounts: number[]; amplificationFactor: number; offpeg_fee_multiplier?: number; } interface CollectFeeParams { poolId: string; positionAddr: string; } export type { AddAMMLiquidityParams, AddCLMMLiquidityParams, AddStableLiquidityParams, CollectFeeParams, CreateAMMPoolAndAddLiquidityParams, CreateCLMMPoolAndAddLiquidityParams, CreateStablePoolAndAddLiquidityParams, RemoveMultipleAMMLiquidityParams, RemoveMultipleCLMMLiquidityParams, RemoveMultipleStableLiquidityParams, RemoveSingleAMMLiquidityParams, RemoveSingleCLMMLiquidityParams, RemoveSingleStableLiquidityParams };