import { ethers } from 'ethers'; import { EventEmitter } from 'events'; import { ChainId } from '../types'; export declare class MockProvider extends EventEmitter { blockNumber: number; connected: boolean; private chainId; constructor(chainId: ChainId); getBlockNumber(): Promise; getBalance(_address: string): Promise; getNetwork(): Promise<{ chainId: bigint; }>; sendTransaction(_tx: any): Promise; estimateGas(_tx: any): Promise; } export declare class ProviderFactory { private static providers; private static connectionTimeouts; static createProvider(chainId: ChainId, rpcUrl: string, options?: { timeout?: number; retryCount?: number; fallbackToMock?: boolean; }): Promise; static clearCache(): void; static getCachedProvider(chainId: ChainId, rpcUrl: string): ethers.JsonRpcProvider | MockProvider | undefined; static isRealProvider(provider: any): provider is ethers.JsonRpcProvider; static isMockProvider(provider: any): provider is MockProvider; } //# sourceMappingURL=provider-factory.d.ts.map