import { Balance, BlockInfo, ChainKey, Provider, ProviderCapabilities, ProviderConfig, Transaction, TxHistoryOptions } from "../_chunks/provider.mjs"; /** Arweave balances and blocks from gateway REST, transactions from its GraphQL index. */ export declare class Arweave extends Provider { static readonly key = "arweave"; private readonly base; private readonly endpoint; constructor(config?: Readonly); get capabilities(): ProviderCapabilities; getBalance(address: string, chain?: ChainKey): Promise; getBlockInfo(blockNumber: number, chain?: ChainKey): Promise; private query; getTxDetail(hash: string, chain?: ChainKey): Promise; /** * GraphQL combines owners and recipients with AND, so read each direction separately. * @param {string} address - Address to match. * @param {"owners" | "recipients"} direction - Indexed address field. * @param {number} count - Number of rows needed before merging. * @param {Readonly} options - Order and block bounds. * @returns {Promise} Rows from one direction. */ private historyDirection; getTxHistory(address: string, chain?: ChainKey, options?: Readonly): Promise; } //# sourceMappingURL=arweave.d.mts.map