import { providers } from 'ethers'; import { BigNumber, type BigNumberish } from '@ethersproject/bignumber'; import { Block, BlockTag, BlockWithTransactions, Filter, FilterByBlockHash, Log, TransactionReceipt, TransactionRequest, TransactionResponse } from '@ethersproject/abstract-provider'; import { type Deferrable } from '@ethersproject/properties'; import { type Network } from '@ethersproject/networks'; export declare class RetryProvider extends providers.StaticJsonRpcProvider implements providers.Provider { perform(method: string, params: any): Promise; getNetwork: () => Promise; getBlockNumber: () => Promise; getGasPrice: () => Promise; getBalance: (addressOrName: string | Promise, blockTag?: providers.BlockTag | Promise | undefined) => Promise; getTransactionCount: (addressOrName: string | Promise, blockTag?: providers.BlockTag | Promise | undefined) => Promise; getCode: (addressOrName: string | Promise, blockTag?: providers.BlockTag | Promise | undefined) => Promise; getStorageAt: (addressOrName: string | Promise, position: BigNumberish | Promise, blockTag?: providers.BlockTag | Promise | undefined) => Promise; sendTransaction: (signedTransaction: string | Promise) => Promise; call: (transaction: Deferrable, blockTag?: providers.BlockTag | Promise | undefined) => Promise; estimateGas: (transaction: Deferrable) => Promise; getBlock: (blockHashOrBlockTag: providers.BlockTag | Promise) => Promise; getBlockWithTransactions: (blockHashOrBlockTag: providers.BlockTag | Promise) => Promise; getTransaction: (transactionHash: string | Promise) => Promise; getTransactionReceipt: (transactionHash: string | Promise) => Promise; getLogs: (filter: providers.Filter | FilterByBlockHash | Promise) => Promise; resolveName: (name: string | Promise) => Promise; lookupAddress: (address: string | Promise) => Promise; getAvatar: (nameOrAddress: string) => Promise; } export declare class FallbackProvider implements providers.Provider { private _providersFn; private _providers; private activeIndex; _isProvider: boolean; constructor(providers: any[]); static fromUrls(urls: string[]): FallbackProvider; get providers(): any[]; get connection(): any; private getActiveProvider; tryProvider(fn: any): Promise; getNetwork: () => Promise; getBlockNumber: () => Promise; getGasPrice: () => Promise; getBalance: (addressOrName: string | Promise, blockTag?: BlockTag | Promise) => Promise; getTransactionCount: (addressOrName: string | Promise, blockTag?: BlockTag | Promise) => Promise; getCode: (addressOrName: string | Promise, blockTag?: BlockTag | Promise) => Promise; getStorageAt: (addressOrName: string | Promise, position: BigNumberish | Promise, blockTag?: BlockTag | Promise) => Promise; sendTransaction: (signedTransaction: string | Promise) => Promise; call: (transaction: Deferrable, blockTag?: BlockTag | Promise) => Promise; estimateGas: (transaction: Deferrable) => Promise; getBlock: (blockHashOrBlockTag: BlockTag | string | Promise) => Promise; getBlockWithTransactions: (blockHashOrBlockTag: BlockTag | string | Promise) => Promise; getTransaction: (transactionHash: string) => Promise; getTransactionReceipt: (transactionHash: string) => Promise; getLogs: (filter: Filter | FilterByBlockHash) => Promise; resolveName: (name: string | Promise) => Promise; lookupAddress: (address: string | Promise) => Promise; getFeeData(): Promise; waitForTransaction(transactionHash: string, confirmations?: number, timeout?: number): Promise; on(eventName: string, listener: any): any; once(eventName: string, listener: any): any; emit(eventName: string, ...args: any[]): boolean; listenerCount(eventName: string): number; listeners(eventName: string): any[]; off(eventName: string, listener: any): any; removeAllListeners(eventName: string): any; removeListener(eventName: string, listener: any): any; addListener(eventName: string, listener: any): any; getAvatar(address: string): Promise; detectNetwork(): Promise; getResolver(address: string): Promise; send(method: string, params: any): Promise; } //# sourceMappingURL=Provider.d.ts.map