import { ConsensusPayload, Transaction } from '@neo-one/node-core'; import { ConsensusContext } from './ConsensusContext'; import { Context } from './context'; export interface Result { readonly context: TContext; readonly consensusContext?: ConsensusContext; readonly timerSeconds?: number; } export declare type Event = { readonly type: 'handlePersistBlock'; } | { readonly type: 'handleConsensusPayload'; readonly payload: ConsensusPayload; } | { readonly type: 'handleTransactionReceived'; readonly transaction: Transaction; } | { readonly type: 'timer'; }; export interface Options { readonly privateNet: boolean; }