import { Contract } from 'ethers'; import { DB } from '@pigi/core'; import { Event, EthereumListener } from './interfaces'; export declare class EthereumEventProcessor { private readonly db; private readonly earliestBlock; private readonly subscriptions; private currentBlockNumber; private syncStatuses; constructor(db: DB, earliestBlock?: number); subscribe(contract: Contract, eventName: string, handler: EthereumListener, syncPastEvents?: boolean): Promise; private syncPastEvents; private finishSync; private handleEvent; private getBlockNumber; private static createEventFromLogDesc; private createEventFromEthersEvent; private static getLogValues; private getEventID; }