import { Connection, GetProgramAccountsConfig, GetProgramAccountsResponse, PublicKey, SignaturesForAddressOptions, VersionedTransactionResponse } from "@solana/web3.js"; import { GetTransactionsOptions, HeliusGetProgramAccountsV2Config } from "./helius"; export { getAsset, getHeliusApiKey, getHeliusRpcUrl, getPriorityFeeEstimate, getTokenAccountsByMint, getTokenAccountsByMintResult, heliusFetch, heliusGetProgramAccountsV2, heliusGetTransactionsForAddress, isHeliusRpc, } from "./helius"; export type { GetTokenAccountsByMintOptions, GetPriorityFeeEstimateOptions, GetTransactionsOptions, HeliusAsset, HeliusFetchOptions, HeliusGetProgramAccountsV2Config, HeliusTokenAccount, HeliusTokenAccountsByMintResult, PriorityLevel, } from "./helius"; /** * Fetches program accounts using Helius getProgramAccountsV2 if available. * Otherwise falls back to standard getProgramAccounts with retry logic. */ export declare function getProgramAccounts(connection: Connection, programId: PublicKey, config: GetProgramAccountsConfig & HeliusGetProgramAccountsV2Config): Promise; /** * Standard getProgramAccounts with retry logic for transient errors. */ export declare function getProgramAccountsWithRetry(connection: Connection, programId: PublicKey, config: GetProgramAccountsConfig): Promise; /** * Fetches transactions for an address using Helius getTransactionsForAddress if available. * Otherwise falls back to getSignaturesForAddress + getTransaction. */ export declare function getTransactionsForAddress(connection: Connection, address: PublicKey, options?: SignaturesForAddressOptions & GetTransactionsOptions): Promise;