import type { Address } from "@coral-xyz/anchor"; import { TransactionBuilder } from "@orca-so/common-sdk"; import { PublicKey } from "@solana/web3.js"; import type { WhirlpoolContext } from "../context"; import type { ByTokenAmountsParams, DecreaseLiquidityInput } from "../instructions"; import type { WhirlpoolAccountFetchOptions } from "../network/public/fetcher"; import type { LockConfigData, LockTypeData, PositionData, TickArrayData, TickData, WhirlpoolData } from "../types/public"; import type { Position } from "../whirlpool-client"; export declare class PositionImpl implements Position { readonly ctx: WhirlpoolContext; readonly address: PublicKey; readonly positionMintTokenProgramId: PublicKey; private data; private whirlpoolData; private lowerTickArrayData; private upperTickArrayData; constructor(ctx: WhirlpoolContext, address: PublicKey, data: PositionData, whirlpoolData: WhirlpoolData, lowerTickArrayData: TickArrayData, upperTickArrayData: TickArrayData, positionMintTokenProgramId: PublicKey); getAddress(): PublicKey; getPositionMintTokenProgramId(): PublicKey; getData(): PositionData; getWhirlpoolData(): WhirlpoolData; getLowerTickData(): TickData; getUpperTickData(): TickData; refreshData(): Promise; increaseLiquidity(liquidityInput: ByTokenAmountsParams, resolveATA?: boolean, sourceWallet?: Address, positionWallet?: Address, ataPayer?: Address): Promise; decreaseLiquidity(liquidityInput: DecreaseLiquidityInput, resolveATA?: boolean, sourceWallet?: Address, positionWallet?: Address, ataPayer?: Address): Promise; collectFees(updateFeesAndRewards?: boolean, ownerTokenAccountMap?: Partial>, destinationWallet?: Address, positionWallet?: Address, ataPayer?: Address, opts?: WhirlpoolAccountFetchOptions): Promise; collectRewards(rewardsToCollect?: Address[], updateFeesAndRewards?: boolean, ownerTokenAccountMap?: Partial>, destinationWallet?: Address, positionWallet?: Address, ataPayer?: Address, opts?: WhirlpoolAccountFetchOptions): Promise; lock(lockType: LockTypeData, positionWallet?: Address, funder?: Address): Promise; resetPositionRange(tickLowerIndex: number, tickUpperIndex: number, positionWallet?: Address, funder?: Address): Promise; getLockConfigData(): Promise; private refresh; private updateFeesAndRewards; }