import { ExecutionEventsClient } from '../../proto/rpcevents_grpc_pb'; import { EventsResponse } from '../../proto/rpcevents_pb'; import { LogEvent } from '../../proto/exec_pb'; import { Error } from './Burrow'; import * as grpc from 'grpc'; export declare type EventStream = grpc.ClientReadableStream; export declare class Events { burrow: ExecutionEventsClient; constructor(burrow: ExecutionEventsClient); listen(query: string, callback: (err: Error, log: LogEvent) => void): EventStream; subContractEvents(address: string, signature: string, callback: (err: Error, log: LogEvent) => void): EventStream; }