import { Connection, PublicKey } from '@solana/web3.js'; import Decimal from 'decimal.js'; import { WhirlpoolStrategy } from '../kamino-client/accounts'; import { GenericPoolInfo, LiquidityDistribution } from '../utils'; import { LbPair, PositionV2 } from '../meteora_client/accounts'; import { WhirlpoolAprApy } from './WhirlpoolAprApy'; export interface MeteoraPool { key: PublicKey; pool: LbPair; } export declare class MeteoraService { private readonly _connection; private readonly _meteoraProgramId; constructor(connection: Connection, meteoraProgramId?: PublicKey); getMeteoraProgramId(): PublicKey; getPool(poolAddress: PublicKey): Promise; getPosition(position: PublicKey): Promise; getMeteoraPools(): Promise; getStrategyMeteoraPoolAprApy(strategy: WhirlpoolStrategy): Promise; getMeteoraLiquidityDistribution(poolKey: PublicKey, keepOrder?: boolean, lowestTick?: number, highestTick?: number): Promise; getMeteoraPositionAprApy(poolPubkey: PublicKey, priceLower: Decimal, priceUpper: Decimal): Promise; getGenericPoolInfo(poolPubkey: PublicKey): Promise; getPositionsCountByPool(pool: PublicKey): Promise; } export declare function computeMeteoraFee(pool: LbPair): Decimal; //# sourceMappingURL=MeteoraService.d.ts.map