declare module 'ethjs-query' { import EthjsHttpProvider = require('ethjs-provider-http'); import EthjsRpc = require('ethjs-rpc'); import BN = require('bn.js'); import { Block, Transaction, TransactionReceipt, Log } from 'ethjs-shared'; class EthjsQuery { constructor(provider: EthjsHttpProvider); rpc: EthjsRpc; accounts(): Promise>; call(transaction: Transaction): Promise; estimateGas(transaction: Transaction): Promise; getBalance(address: string): Promise; getBlockByNumber(blockNumber: number|"earliest"|"latest"|"pending", returnFullBlock: boolean): Promise; getLogs(options: { fromBlock: BN | string, toBlock: BN | string, address: string, topics: (string | null)[] }): Promise>; getTransactionCount(address: string): Promise; getTransactionReceipt(transactionHash: string): Promise; net_version(): Promise; sendTransaction(transaction: Transaction): Promise; sendRawTransaction(signedTransaction: string): Promise; } namespace EthjsQuery { const keccak256: (source: string) => string; } export = EthjsQuery; }