import { PublicKey, Commitment, EpochInfo, Connection, Transaction, Signer, TransactionInstruction, Keypair } from '@solana/web3.js'; import { aA as TxBuilder, as as AddInstructionParam, ac as BigNumberish, bn as CreateFarm, az as MakeTxData, bo as CreateFarmExtInfo, bp as UpdateFarmReward, bq as UpdateFarmRewards, br as FarmDWParam, X as FormatFarmInfoOut, bL as ComputeBudgetConfig, ay as MakeMultiTxData, o as ApiV3PoolInfoStandardItem, c8 as Percent, c4 as TokenAmount, v as AmmV4Keys, w as AmmV5Keys, n as ApiV3PoolInfoConcentratedItem, W as FormatFarmInfoOutV6, y as ClmmKeys, bH as MakeTransaction, bQ as ReturnTypeFetchMultipleMintInfos, C as CpmmKeys, p as ApiV3PoolInfoStandardItemCpmm, bO as GetTransferAmountFee, z as PoolKeys, h as ApiV3Token, _ as OwnerIdoInfo, $ as IdoKeysData, bM as LoadParams, J as JupTokenType, bC as TokenInfo, bG as SignAllTransactions, a as Api, Y as AvailabilityCheckAPI3, i as ApiV3TokenRes } from './api-33b5ab27.js'; import { API_URL_CONFIG } from './api/url.js'; import { Owner } from './common/owner.js'; import { Cluster } from './solana/type.js'; import { TokenAccount, TokenAccountRaw, GetOrCreateTokenAccountParams, HandleTokenAccountParams } from './raydium/account/types.js'; import { Logger } from './common/logger.js'; import { TxVersion } from './common/txTool/txType.js'; import BN__default from 'bn.js'; import Decimal from 'decimal.js'; import { AddLiquidityParams, RemoveParams, CreatePoolParam, CreatePoolAddress, ComputeAmountOutParam, SwapParam, AmmRpcData } from './raydium/liquidity/type.js'; import { StableLayout } from './raydium/liquidity/stable.js'; import { m as CreateConcentratedPool, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, I as IncreasePositionFromLiquidity, M as ManipulateLiquidityExtInfo, n as IncreasePositionFromBase, D as DecreaseLiquidity, B as ClosePositionExtInfo, s as InitRewardParams, E as InitRewardExtInfo, t as InitRewardsParams, u as SetRewardParams, v as SetRewardsParams, w as CollectRewardParams, x as CollectRewardsParams, H as HarvestAllRewardsParams, F as ClmmRpcData, d as ComputeClmmPoolInfo, l as ReturnTypeFetchMultiplePoolTickArrays } from './type-b5cd546d.js'; import { ClmmPositionLayout, PositionInfoLayout, PoolInfoLayout } from './raydium/clmm/layout.js'; import { CpmmRpcData, CpmmComputeData, CreateCpmmPoolParam, CreateCpmmPoolAddress, AddCpmmLiquidityParams, WithdrawCpmmLiquidityParams, CpmmSwapParams, ComputePairAmountParams } from './raydium/cpmm/type.js'; import { ComputeAmountOutLayout, BasicPoolInfo, ReturnTypeGetAllRoute, ComputeRoutePathType, ComputePoolType, ReturnTypeFetchMultipleInfo } from './raydium/tradeV2/type.js'; import { Structure } from './marshmallow/index.js'; interface ModuleBaseProps { scope: Raydium; moduleName: string; } declare class ModuleBase { scope: Raydium; private disabled; protected logger: Logger; constructor({ scope, moduleName }: ModuleBaseProps); protected createTxBuilder(feePayer?: PublicKey): TxBuilder; logDebug(...args: (string | number | Record)[]): void; logInfo(...args: (string | number | Record)[]): void; logAndCreateError(...args: (string | number | Record)[]): void; checkDisabled(): void; } interface TokenAccountDataProp { tokenAccounts?: TokenAccount[]; tokenAccountRawInfos?: TokenAccountRaw[]; } declare class Account extends ModuleBase { private _tokenAccounts; private _tokenAccountRawInfos; private _accountChangeListenerId?; private _accountListener; private _clientOwnedToken; constructor(params: TokenAccountDataProp & ModuleBaseProps); get tokenAccounts(): TokenAccount[]; get tokenAccountRawInfos(): TokenAccountRaw[]; updateTokenAccount({ tokenAccounts, tokenAccountRawInfos }: TokenAccountDataProp): Account; addAccountChangeListener(cbk: (data: TokenAccountDataProp) => void): Account; removeAccountChangeListener(cbk: (data: TokenAccountDataProp) => void): Account; getAssociatedTokenAccount(mint: PublicKey, programId?: PublicKey): PublicKey; fetchWalletTokenAccounts(config?: { forceUpdate?: boolean; commitment?: Commitment; }): Promise<{ tokenAccounts: TokenAccount[]; tokenAccountRawInfos: TokenAccountRaw[]; }>; getCreatedTokenAccount({ mint, programId, associatedOnly, }: { mint: PublicKey; programId?: PublicKey; associatedOnly?: boolean; }): Promise; getOrCreateTokenAccount(params: GetOrCreateTokenAccountParams): Promise<{ account?: PublicKey; instructionParams?: AddInstructionParam; }>; checkOrCreateAta({ mint, programId, autoUnwrapWSOLToSOL, }: { mint: PublicKey; programId?: PublicKey; autoUnwrapWSOLToSOL?: boolean; }): Promise<{ pubKey: PublicKey; newInstructions: AddInstructionParam; }>; handleTokenAccount(params: HandleTokenAccountParams): Promise; processTokenAccount(props: { mint: PublicKey; programId?: PublicKey; amount?: BigNumberish; useSOLBalance?: boolean; handleTokenAccount?: boolean; }): Promise>; } declare class Farm extends ModuleBase { private _getUserRewardInfo; create({ poolInfo: propPoolInfo, rewardInfos, payer, programId, txVersion, }: CreateFarm): Promise>; restartReward({ farmInfo, payer, newRewardInfo, txVersion, }: UpdateFarmReward): Promise>; restartRewards({ farmInfo, payer, newRewardInfos, txVersion, }: UpdateFarmRewards): Promise>; addNewRewardToken(params: UpdateFarmReward): Promise>; addNewRewardsToken(params: UpdateFarmRewards): Promise>; deposit(params: FarmDWParam): Promise>; withdraw(params: FarmDWParam): Promise>; withdrawFarmReward({ farmInfo, withdrawMint, txVersion, }: { farmInfo: FormatFarmInfoOut; withdrawMint: PublicKey; payer?: PublicKey; txVersion?: T; }): Promise>; harvestAllRewards(params: { farmInfoList: Record; feePayer?: PublicKey; useSOLBalance?: boolean; associatedOnly?: boolean; checkCreateATAOwner?: boolean; userAuxiliaryLedgers?: string[]; txVersion?: T; computeBudgetConfig?: ComputeBudgetConfig; }): Promise>; } declare class LiquidityModule extends ModuleBase { stableLayout: StableLayout; constructor(params: ModuleBaseProps); initLayout(): Promise; load(): Promise; computePairAmount({ poolInfo, amount, slippage, baseIn, }: { poolInfo: ApiV3PoolInfoStandardItem; amount: string | Decimal; slippage: Percent; baseIn?: boolean; }): { anotherAmount: TokenAmount; maxAnotherAmount: TokenAmount; liquidity: BN__default; }; getAmmPoolKeys(poolId: string): Promise; addLiquidity(params: AddLiquidityParams): Promise>; removeLiquidity(params: RemoveParams): Promise>>; removeAllLpAndCreateClmmPosition({ poolInfo, clmmPoolInfo, removeLpAmount, createPositionInfo, farmInfo, userFarmLpAmount, base, computeBudgetConfig, payer, userAuxiliaryLedgers, tokenProgram, checkCreateATAOwner, getEphemeralSigners, txVersion, }: { poolInfo: ApiV3PoolInfoStandardItem; clmmPoolInfo: ApiV3PoolInfoConcentratedItem; removeLpAmount: BN__default; createPositionInfo: { tickLower: number; tickUpper: number; baseAmount: BN__default; otherAmountMax: BN__default; }; farmInfo?: FormatFarmInfoOutV6; userFarmLpAmount?: BN__default; userAuxiliaryLedgers?: PublicKey[]; base: "MintA" | "MintB"; payer?: PublicKey; computeBudgetConfig?: ComputeBudgetConfig; tokenProgram?: PublicKey; checkCreateATAOwner?: boolean; txVersion?: T; getEphemeralSigners?: (k: number) => any; }): Promise>; createPoolV4({ programId, marketInfo, baseMintInfo, quoteMintInfo, baseAmount, quoteAmount, startTime, ownerInfo, associatedOnly, checkCreateATAOwner, tokenProgram, txVersion, feeDestinationId, computeBudgetConfig, }: CreatePoolParam): Promise>; getCreatePoolFee({ programId }: { programId: PublicKey; }): Promise; computeAmountOut({ poolInfo, amountIn, mintIn: propMintIn, mintOut: propMintOut, slippage, }: ComputeAmountOutParam): { amountOut: BN__default; minAmountOut: BN__default; currentPrice: Decimal; executionPrice: Decimal; priceImpact: Decimal; fee: BN__default; }; swap({ poolInfo, poolKeys: propPoolKeys, amountIn, amountOut, inputMint, fixedSide, txVersion, config, computeBudgetConfig, }: SwapParam): Promise>; getRpcPoolInfo(poolId: string): Promise; getRpcPoolInfos(poolIds: (string | PublicKey)[], config?: { batchRequest?: boolean; chunkCount?: number; }): Promise<{ [poolId: string]: AmmRpcData; }>; getPoolInfoFromRpc({ poolId }: { poolId: string; }): Promise<{ poolRpcData: AmmRpcData; poolInfo: ComputeAmountOutParam["poolInfo"]; poolKeys: AmmV4Keys | AmmV5Keys; }>; } declare class Clmm extends ModuleBase { constructor(params: ModuleBaseProps); getClmmPoolKeys(poolId: string): Promise; createPool(props: CreateConcentratedPool): Promise>; openPositionFromBase({ poolInfo, poolKeys: propPoolKeys, ownerInfo, tickLower, tickUpper, base, baseAmount, otherAmountMax, associatedOnly, checkCreateATAOwner, withMetadata, getEphemeralSigners, computeBudgetConfig, txVersion, }: OpenPositionFromBase): Promise>; openPositionFromLiquidity({ poolInfo, poolKeys: propPoolKeys, ownerInfo, amountMaxA, amountMaxB, tickLower, tickUpper, liquidity, associatedOnly, checkCreateATAOwner, withMetadata, txVersion, getEphemeralSigners, }: OpenPositionFromLiquidity): Promise>; increasePositionFromLiquidity(props: IncreasePositionFromLiquidity): Promise>; increasePositionFromBase(props: IncreasePositionFromBase): Promise>; decreaseLiquidity(props: DecreaseLiquidity): Promise>>; closePosition({ poolInfo, poolKeys: propPoolKeys, ownerPosition, txVersion, }: { poolInfo: ApiV3PoolInfoConcentratedItem; poolKeys?: ClmmKeys; ownerPosition: ClmmPositionLayout; txVersion: T; }): Promise>; initReward({ poolInfo, ownerInfo, rewardInfo, associatedOnly, checkCreateATAOwner, computeBudgetConfig, txVersion, }: InitRewardParams): Promise>; initRewards({ poolInfo, poolKeys: propPoolKeys, ownerInfo, rewardInfos, associatedOnly, checkCreateATAOwner, computeBudgetConfig, txVersion, }: InitRewardsParams): Promise; }>>; setReward({ poolInfo, ownerInfo, rewardInfo, associatedOnly, checkCreateATAOwner, computeBudgetConfig, txVersion, }: SetRewardParams): Promise; }>>; setRewards({ poolInfo, poolKeys: propPoolKeys, ownerInfo, rewardInfos, associatedOnly, checkCreateATAOwner, computeBudgetConfig, txVersion, }: SetRewardsParams): Promise; }>>; collectReward({ poolInfo, ownerInfo, rewardMint, associatedOnly, checkCreateATAOwner, }: CollectRewardParams): Promise; collectRewards({ poolInfo, ownerInfo, rewardMints, associatedOnly, checkCreateATAOwner, }: CollectRewardsParams): Promise; swap({ poolInfo, poolKeys: propPoolKeys, inputMint, amountIn, amountOutMin, priceLimit, observationId, ownerInfo, remainingAccounts, associatedOnly, checkCreateATAOwner, txVersion, }: { poolInfo: ApiV3PoolInfoConcentratedItem; poolKeys?: ClmmKeys; inputMint: string | PublicKey; amountIn: BN__default; amountOutMin: BN__default; priceLimit?: Decimal; observationId: PublicKey; ownerInfo: { useSOLBalance?: boolean; feePayer?: PublicKey; }; remainingAccounts: PublicKey[]; associatedOnly?: boolean; checkCreateATAOwner?: boolean; txVersion?: T; }): Promise>; harvestAllRewards({ allPoolInfo, allPositions, ownerInfo, associatedOnly, checkCreateATAOwner, programId, txVersion, computeBudgetConfig, }: HarvestAllRewardsParams): Promise>; getWhiteListMint({ programId }: { programId: PublicKey; }): Promise; getOwnerPositionInfo({ programId, }: { programId: string | PublicKey; }): Promise[]>; getRpcClmmPoolInfo({ poolId }: { poolId: string | PublicKey; }): Promise; getRpcClmmPoolInfos({ poolIds, config, }: { poolIds: (string | PublicKey)[]; config?: { batchRequest?: boolean; chunkCount?: number; }; }): Promise<{ [poolId: string]: ClmmRpcData; }>; getComputeClmmPoolInfos({ clmmPoolsRpcInfo, mintInfos, }: { clmmPoolsRpcInfo: Record & { currentPrice: number; programId: PublicKey; }>; mintInfos: ReturnTypeFetchMultipleMintInfos; }): Promise<{ computeClmmPoolInfo: Record; computePoolTickData: ReturnTypeFetchMultiplePoolTickArrays; }>; getPoolInfoFromRpc(poolId: string): Promise<{ poolInfo: ApiV3PoolInfoConcentratedItem; poolKeys: ClmmKeys; computePoolInfo: ComputeClmmPoolInfo; tickData: ReturnTypeFetchMultiplePoolTickArrays; }>; } declare class CpmmModule extends ModuleBase { constructor(params: ModuleBaseProps); load(): Promise; getCpmmPoolKeys(poolId: string): Promise; getRpcPoolInfo(poolId: string, fetchConfigInfo?: boolean): Promise; getRpcPoolInfos(poolIds: string[], fetchConfigInfo?: boolean): Promise<{ [poolId: string]: CpmmRpcData; }>; toComputePoolInfos({ pools, mintInfos, }: { pools: Record; mintInfos: ReturnTypeFetchMultipleMintInfos; }): Record; getPoolInfoFromRpc(poolId: string): Promise<{ poolInfo: ApiV3PoolInfoStandardItemCpmm; poolKeys: CpmmKeys; rpcData: CpmmRpcData; }>; createPool({ programId, poolFeeAccount, startTime, ownerInfo, associatedOnly, checkCreateATAOwner, txVersion, computeBudgetConfig, ...params }: CreateCpmmPoolParam): Promise>; addLiquidity(params: AddCpmmLiquidityParams): Promise>; withdrawLiquidity(params: WithdrawCpmmLiquidityParams): Promise>; swap(params: CpmmSwapParams): Promise>; computeSwapAmount({ pool, amountIn, outputMint, slippage, }: { pool: CpmmComputeData; amountIn: BN__default; outputMint: string | PublicKey; slippage: number; }): { allTrade: boolean; amountIn: BN__default; amountOut: BN__default; minAmountOut: BN__default; fee: BN__default; executionPrice: Decimal; priceImpact: any; }; computePairAmount({ poolInfo, baseReserve, quoteReserve, amount, slippage, epochInfo, baseIn, }: ComputePairAmountParams): { inputAmountFee: GetTransferAmountFee; anotherAmount: GetTransferAmountFee; maxAnotherAmount: GetTransferAmountFee; liquidity: BN__default; }; } declare class TradeV2 extends ModuleBase { constructor(params: ModuleBaseProps); private getWSolAccounts; unWrapWSol(props: { amount: BigNumberish; computeBudgetConfig?: ComputeBudgetConfig; tokenProgram?: PublicKey; txVersion?: T; }): Promise>; wrapWSol(amount: BigNumberish, tokenProgram?: PublicKey, txVersion?: T): Promise>; swap({ swapInfo, swapPoolKeys, ownerInfo, computeBudgetConfig, routeProgram, txVersion, }: { txVersion: T; swapInfo: ComputeAmountOutLayout; swapPoolKeys?: PoolKeys[]; ownerInfo: { associatedOnly: boolean; checkCreateATAOwner: boolean; }; routeProgram: PublicKey; computeBudgetConfig?: ComputeBudgetConfig; }): Promise>; fetchRoutePoolBasicInfo(programIds?: { amm: PublicKey; clmm: PublicKey; cpmm: PublicKey; }): Promise<{ ammPools: BasicPoolInfo[]; clmmPools: BasicPoolInfo[]; cpmmPools: BasicPoolInfo[]; }>; getAllRoute({ inputMint, outputMint, clmmPools, ammPools, cpmmPools, }: { inputMint: PublicKey; outputMint: PublicKey; clmmPools: BasicPoolInfo[]; ammPools: BasicPoolInfo[]; cpmmPools: BasicPoolInfo[]; }): ReturnTypeGetAllRoute; fetchSwapRoutesData({ routes, inputMint, outputMint, }: { inputMint: string | PublicKey; outputMint: string | PublicKey; routes: ReturnTypeGetAllRoute; }): Promise<{ mintInfos: ReturnTypeFetchMultipleMintInfos; ammPoolsRpcInfo: Record; ammSimulateCache: Record; clmmPoolsRpcInfo: Record; computeClmmPoolInfo: Record; computePoolTickData: ReturnTypeFetchMultiplePoolTickArrays; computeCpmmData: Record; routePathDict: ComputeRoutePathType; }>; getAllRouteComputeAmountOut({ inputTokenAmount, outputToken: propOutputToken, directPath, routePathDict, simulateCache, tickCache, slippage, chainTime, epochInfo, feeConfig, }: { directPath: ComputePoolType[]; routePathDict: ComputeRoutePathType; simulateCache: ReturnTypeFetchMultipleInfo; tickCache: ReturnTypeFetchMultiplePoolTickArrays; mintInfos: ReturnTypeFetchMultipleMintInfos; inputTokenAmount: TokenAmount; outputToken: ApiV3Token; slippage: number; chainTime: number; epochInfo: EpochInfo; feeConfig?: { feeBps: BN__default; feeAccount: PublicKey; }; }): ComputeAmountOutLayout[]; /** trade related utils */ private computeAmountOut; computePoolToPoolKeys({ pools, clmmRpcData, ammRpcData, }: { pools: ComputePoolType[]; clmmRpcData?: Record; ammRpcData?: Record; }): Promise; } interface SHOW_INFO { programId: PublicKey; poolId: PublicKey; ammId: PublicKey; ownerAccountId: PublicKey; snapshotLpAmount: BN__default; openTime: number; endTime: number; project: typeof Utils1216.VERSION_PROJECT[number]; canClaim: boolean; canClaimErrorType: canClaimErrorType; tokenInfo: { mintAddress: PublicKey; mintVault: PublicKey; mintDecimals: number; perLpLoss: BN__default; debtAmount: BN__default; }[]; } declare type canClaimErrorType = "outOfOperationalTime" | "alreadyClaimIt" | undefined; declare class Utils1216 extends ModuleBase { static CLAIMED_NUM: number; static POOL_LAYOUT: Structure; static OWNER_LAYOUT: Structure; static DEFAULT_POOL_ID: PublicKey[]; static SEED_CONFIG: { pool: { id: Buffer; }; owner: { id: Buffer; }; }; static VERSION_PROJECT: readonly [undefined, "Francium", "Tulip", "Larix"]; static getPdaPoolId(programId: PublicKey, ammId: PublicKey): { publicKey: PublicKey; nonce: number; }; static getPdaOwnerId(programId: PublicKey, poolId: PublicKey, owner: PublicKey, version: number): { publicKey: PublicKey; nonce: number; }; static getAllInfo({ connection, programId, poolIds, wallet, chainTime, }: { connection: Connection; programId: PublicKey; poolIds: PublicKey[]; wallet: PublicKey; chainTime: number; }): Promise; makeClaimTransaction({ poolInfo, ownerInfo, }: { connection: Connection; poolInfo: SHOW_INFO; ownerInfo: { wallet?: PublicKey; associatedOnly: boolean; }; }): Promise<{ transaction: Transaction; signer: Signer[]; }[]>; makeClaimAllTransaction({ poolInfos, ownerInfo, }: { poolInfos: SHOW_INFO[]; ownerInfo: { wallet?: PublicKey; associatedOnly: boolean; }; }): Promise<{ transaction: Transaction; signer: Signer[]; }[]>; static makeClaimInstruction({ programId, poolInfo, ownerInfo, }: { programId: PublicKey; poolInfo: SHOW_INFO; ownerInfo: { wallet: PublicKey; ownerPda: PublicKey; claimAddress: PublicKey[]; }; }): TransactionInstruction; } interface ExtInfo { address: { marketId: PublicKey; requestQueue: PublicKey; eventQueue: PublicKey; bids: PublicKey; asks: PublicKey; baseVault: PublicKey; quoteVault: PublicKey; baseMint: PublicKey; quoteMin: PublicKey; }; } declare class MarketV2$1 extends ModuleBase { create({ baseInfo, quoteInfo, lotSize, // 1 tickSize, // 0.01 dexProgramId, txVersion, computeBudgetConfig, }: { baseInfo: { mint: PublicKey; decimals: number; }; quoteInfo: { mint: PublicKey; decimals: number; }; lotSize: number; tickSize: number; dexProgramId: PublicKey; eventQueue?: PublicKey; requestQueue?: PublicKey; txVersion?: T; computeBudgetConfig?: ComputeBudgetConfig; }): Promise>; } declare class MarketV2 extends ModuleBase { claim({ ownerInfo, idoKeys, associatedOnly, checkCreateATAOwner, txVersion, }: { ownerInfo: OwnerIdoInfo[keyof OwnerIdoInfo] & { userIdoInfo: string; }; idoKeys: IdoKeysData; associatedOnly?: boolean; checkCreateATAOwner?: boolean; txVersion?: T; }): Promise; } declare class TokenModule extends ModuleBase { private _tokenList; private _tokenMap; private _blackTokenMap; private _mintGroup; private _whiteMap; private _extraTokenList; constructor(params: ModuleBaseProps); load(params?: LoadParams & { type?: JupTokenType; }): Promise; get tokenList(): TokenInfo[]; get tokenMap(): Map; get blackTokenMap(): Map; get mintGroup(): { official: Set; jup: Set; }; get whiteListMap(): Set; /** === util functions === */ getTokenInfo(mint: string | PublicKey): Promise; } interface RaydiumLoadParams extends TokenAccountDataProp, Omit { connection: Connection; cluster?: Cluster; owner?: PublicKey | Keypair; apiRequestInterval?: number; apiRequestTimeout?: number; apiCacheTime?: number; signAllTransactions?: SignAllTransactions; urlConfigs?: API_URL_CONFIG; logRequests?: boolean; logCount?: number; jupTokenType?: JupTokenType; disableFeatureCheck?: boolean; disableLoadToken?: boolean; blockhashCommitment?: Commitment; } interface RaydiumApiBatchRequestParams { api: Api; defaultChainTimeOffset?: number; defaultChainTime?: number; } declare type RaydiumConstructorParams = Required & RaydiumApiBatchRequestParams; interface DataBase { fetched: number; data: T; extInfo?: Record; } interface ApiData { tokens?: DataBase; tokenList?: DataBase; jupTokenList?: { [JupTokenType.ALL]?: DataBase; [JupTokenType.Strict]?: DataBase; }; } declare class Raydium { cluster: Cluster; farm: Farm; account: Account; liquidity: LiquidityModule; clmm: Clmm; cpmm: CpmmModule; tradeV2: TradeV2; utils1216: Utils1216; marketV2: MarketV2$1; ido: MarketV2; token: TokenModule; rawBalances: Map; apiData: ApiData; availability: Partial; blockhashCommitment: Commitment; private _connection; private _owner; api: Api; private _apiCacheTime; private _signAllTransactions?; private logger; private _chainTime?; private _epochInfo?; constructor(config: RaydiumConstructorParams); static load(config: RaydiumLoadParams): Promise; get owner(): Owner | undefined; get ownerPubKey(): PublicKey; setOwner(owner?: PublicKey | Keypair): Raydium; get connection(): Connection; setConnection(connection: Connection): Raydium; get signAllTransactions(): SignAllTransactions | undefined; setSignAllTransactions(signAllTransactions?: SignAllTransactions): Raydium; checkOwner(): void; private isCacheInvalidate; fetchChainTime(): Promise; fetchV3TokenList(forceUpdate?: boolean): Promise; fetchJupTokenList(type: JupTokenType, forceUpdate?: boolean): Promise; get chainTimeData(): { offset: number; chainTime: number; } | undefined; chainTimeOffset(): Promise; currentBlockChainTime(): Promise; fetchEpochInfo(): Promise; fetchAvailabilityStatus(skipCheck?: boolean): Promise>; } export { Account as A, Clmm as C, Farm as F, LiquidityModule as L, MarketV2 as M, RaydiumLoadParams as R, SHOW_INFO as S, TokenAccountDataProp as T, Utils1216 as U, RaydiumApiBatchRequestParams as a, RaydiumConstructorParams as b, Raydium as c, canClaimErrorType as d, MarketV2$1 as e, ModuleBase as f, ModuleBaseProps as g, CpmmModule as h, TradeV2 as i, TokenModule as j };