import { ethers } from 'ethers'; import { PortalNetwork } from './client.js'; import type { PortalNetworkOpts } from './types.js'; import type { HistoryNetwork } from '../networks/index.js'; export declare class UltralightProvider extends ethers.JsonRpcProvider { private fallbackProvider; portal: PortalNetwork; historyNetwork: HistoryNetwork; static create: (fallbackProviderUrl: string | ethers.JsonRpcProvider, opts: Partial) => Promise; constructor(fallbackProvider: string | ethers.JsonRpcProvider, portal: PortalNetwork); getBlock: (blockTag: ethers.BlockTag) => Promise; getBlockWithTransactions: (blockTag: ethers.BlockTag) => Promise<{ hash: string; transactions: ethers.TransactionResponse[]; parentHash: string; number: number; timestamp: number; nonce: string; difficulty: bigint; gasLimit: bigint; miner: string; gasUsed: bigint; extraData: string; _difficulty: bigint; sha3Uncles: string; uncleHeaders: string[]; stateRoot: string; transactionCount: number; }>; } //# sourceMappingURL=provider.d.ts.map