import type { Address } from "@coral-xyz/anchor"; import type { AccountFetcher, ParsableEntity, MintWithTokenProgram, AccountWithTokenProgram as TokenAccountWithTokenProgram } from "@orca-so/common-sdk"; import type { Connection } from "@solana/web3.js"; import type { WhirlpoolAccountFetchOptions, WhirlpoolAccountFetcherInterface, WhirlpoolSupportedTypes } from ".."; import type { FeeTierData, LockConfigData, PositionBundleData, PositionData, TickArrayData, TokenBadgeData, WhirlpoolData, WhirlpoolsConfigData, WhirlpoolsConfigExtensionData, AdaptiveFeeTierData, OracleData } from "../../../types/public"; export declare const buildDefaultAccountFetcher: (connection: Connection) => WhirlpoolAccountFetcher; export declare class WhirlpoolAccountFetcher implements WhirlpoolAccountFetcherInterface { readonly connection: Connection; readonly fetcher: AccountFetcher; private _accountRentExempt; private _epochInfo; private _epochInfoNextFetchTime; constructor(connection: Connection, fetcher: AccountFetcher); getAccountRentExempt(refresh?: boolean): Promise; getEpoch(refresh?: boolean): Promise; getPool(address: Address, opts?: WhirlpoolAccountFetchOptions): Promise; getPools(addresses: Address[], opts?: WhirlpoolAccountFetchOptions): Promise>; getPosition(address: Address, opts?: WhirlpoolAccountFetchOptions): Promise; getPositions(addresses: Address[], opts?: WhirlpoolAccountFetchOptions): Promise>; getTickArray(address: Address, opts?: WhirlpoolAccountFetchOptions): Promise; getTickArrays(addresses: Address[], opts?: WhirlpoolAccountFetchOptions): Promise>; getFeeTier(address: Address, opts?: WhirlpoolAccountFetchOptions): Promise; getFeeTiers(addresses: Address[], opts?: WhirlpoolAccountFetchOptions): Promise>; getTokenInfo(address: Address, opts?: WhirlpoolAccountFetchOptions): Promise; getTokenInfos(addresses: Address[], opts?: WhirlpoolAccountFetchOptions): Promise>; getMintInfo(address: Address, opts?: WhirlpoolAccountFetchOptions): Promise; getMintInfos(addresses: Address[], opts?: WhirlpoolAccountFetchOptions): Promise>; getConfig(address: Address, opts?: WhirlpoolAccountFetchOptions): Promise; getConfigs(addresses: Address[], opts?: WhirlpoolAccountFetchOptions): Promise>; getPositionBundle(address: Address, opts?: WhirlpoolAccountFetchOptions): Promise; getPositionBundles(addresses: Address[], opts?: WhirlpoolAccountFetchOptions): Promise>; getConfigExtension(address: Address, opts?: WhirlpoolAccountFetchOptions): Promise; getConfigExtensions(addresses: Address[], opts?: WhirlpoolAccountFetchOptions): Promise>; getTokenBadge(address: Address, opts?: WhirlpoolAccountFetchOptions): Promise; getTokenBadges(addresses: Address[], opts?: WhirlpoolAccountFetchOptions): Promise>; getLockConfig(address: Address, opts?: WhirlpoolAccountFetchOptions): Promise; getLockConfigs(addresses: Address[], opts?: WhirlpoolAccountFetchOptions): Promise>; getAdaptiveFeeTier(address: Address, opts?: WhirlpoolAccountFetchOptions): Promise; getAdaptiveFeeTiers(addresses: Address[], opts?: WhirlpoolAccountFetchOptions): Promise>; getOracle(address: Address, opts?: WhirlpoolAccountFetchOptions): Promise; getOracles(addresses: Address[], opts?: WhirlpoolAccountFetchOptions): Promise>; populateCache(accounts: ReadonlyMap, parser: ParsableEntity, now?: number): void; }