import { TransactionReceipt } from 'web3/types'; import { Eth, Block, Transaction } from 'web3-eth'; import { Contract } from 'web3-eth-contract'; export declare const NETWORKS: { 1: string; 2: string; 3: string; 4: string; 5: string; 42: string; }; export interface TxParams { from?: string; value?: number | string; gas?: number | string; gasPrice?: number | string; } export default class ZWeb3 { static provider: any; static web3instance: any; static initialize(provider: any): void; static web3(forceReinit?: boolean): any; static sha3(value: string): string; static isAddress(address: string): boolean; static isHex(hex: string): boolean; static checkNetworkId(providedNetworkId?: string | number): Promise; static eth(): Eth; static version(): string; static contract(abi: any, atAddress?: string, options?: any): Contract; static accounts(): Promise; static defaultAccount(): Promise; static toChecksumAddress(address: string): string | null; static estimateGas(params: any): Promise; static getBalance(address: string): Promise; static getCode(address: string): Promise; static hasBytecode(address: any): Promise; static getStorageAt(address: string, position: string): Promise; static getNode(): Promise; static isGanacheNode(): Promise; static getBlock(filter: string | number): Promise; static getLatestBlock(): Promise; static getLatestBlockNumber(): Promise; static isMainnet(): Promise; static getNetwork(): Promise; static getNetworkName(): Promise; static sendTransaction(params: TxParams): Promise; static sendTransactionWithoutReceipt(params: TxParams): Promise; static getTransaction(txHash: string): Promise; static getTransactionReceipt(txHash: string): Promise; static getTransactionReceiptWithTimeout(tx: string, timeout: number): Promise; private static _getTransactionReceiptWithTimeout; private static _tryGettingTransactionReceipt; }