import { Connection, VersionedMessage, PublicKey, SignaturesForAddressOptions, TransactionInstruction, VersionedTransaction, BlockhashWithExpiryBlockHeight, Commitment, GetLatestBlockhashConfig, SimulateTransactionConfig, RpcResponseAndContext, SimulatedTransactionResponse } from "@solana/web3.js"; import { Awaited } from "../../logic"; import { SolanaTokenProgram } from "../../types"; export declare const LATEST_BLOCKHASH_MOCK = "EEbZs6DmDyDjucyYbo3LwVJU7pQYuVopYcYTSEZXskW3"; export declare const LAST_VALID_BLOCK_HEIGHT_MOCK = 280064048; export type Config = { readonly endpoint: string; }; export type ChainAPI = Readonly<{ getBalance: (address: string) => Promise; getLatestBlockhash: (commitmentOrConfig?: Commitment | GetLatestBlockhashConfig) => Promise; getFeeForMessage: (message: VersionedMessage) => Promise; getBalanceAndContext: (address: string) => ReturnType; getParsedTokenAccountsByOwner: (address: string) => ReturnType; getParsedToken2022AccountsByOwner: (address: string) => ReturnType; getStakeAccountsByStakeAuth: (authAddr: string) => ReturnType; getStakeAccountsByWithdrawAuth: (authAddr: string) => ReturnType; getInflationReward: (addresses: string[]) => ReturnType; getVoteAccounts: () => ReturnType; getSignaturesForAddress: (address: string, opts?: SignaturesForAddressOptions) => ReturnType; getParsedTransactions: (signatures: string[]) => ReturnType; getAccountInfo: (address: string) => Promise>["value"]>; getMultipleAccounts: (addresses: string[]) => Promise>["value"]>; sendRawTransaction: (buffer: Buffer, recentBlockhash?: BlockhashWithExpiryBlockHeight) => ReturnType; simulateTransaction: (transaction: VersionedTransaction, config?: SimulateTransactionConfig) => Promise>; findAssocTokenAccAddress: (owner: string, mint: string, program: SolanaTokenProgram) => Promise; getAssocTokenAccMinNativeBalance: () => Promise; getMinimumBalanceForRentExemption: (dataLength: number) => Promise; getStakeMinimumDelegation: () => Promise; getEpochInfo: () => ReturnType; getRecentPrioritizationFees: (accounts: string[]) => ReturnType; getSimulationComputeUnits: (instructions: Array, payer: PublicKey) => Promise; config: Config; connection: Connection; }>; export declare function getChainAPI(config: Config, logger?: (url: string, options: any) => void): ChainAPI; //# sourceMappingURL=index.d.ts.map