import { Token } from "@stratospherex/sdk"; import { PublicClient } from "viem"; import { SupportedChain, Tx } from "../types/chains"; import { AddLiquidityParams, EstimatedLiquidity, IncreaseLiquidityParams } from "../types"; export declare class LiquidityService { private viemClient; private chain; constructor(chain: SupportedChain, viemClient: PublicClient); /** * Get token details from chain */ getToken(address: string): Promise; /** * Find the best pool for the token pair */ private findBestPool; /** * Check if tokens are approved for the position manager */ checkApproval(tokenAddress: string, walletAddress: string): Promise; /** * Generate approve token transaction */ approve(tokenAddress: string, amount: string): Promise; /** * Estimate adding liquidity */ estimateAddLiquidity(params: AddLiquidityParams): Promise; /** * Add liquidity to PancakeSwap V3 pool */ addLiquidity(params: AddLiquidityParams, walletAddress: string): Promise; /** * Get position information by tokenId */ getPosition(tokenId: number): Promise<{ token0: string; token1: string; fee: number; tickLower: number; tickUpper: number; liquidity: bigint; }>; /** * Estimate increasing liquidity for an existing position */ estimateIncreaseLiquidity(params: IncreaseLiquidityParams): Promise; /** * Increase liquidity for an existing position */ increaseLiquidity(params: IncreaseLiquidityParams, walletAddress: string): Promise; } //# sourceMappingURL=liquidity.d.ts.map