export declare namespace MonitorEngine { enum State { START = 0, PAUSE = 1, STOP = 2 } interface StartOptions { dueTime?: number | Date; period?: number; } type EventType = 'START' | 'STOP' | 'PAUSE' | 'READ_ERROR' | 'READ_SUCCESS'; interface Event { type: EventType; payload: PayloadType; } interface VariableMonitoringUpdate { update(totalMs: number): Promise; } } export interface MonitorEngineInterface { start(options?: MonitorEngine.StartOptions): this; /** * Stop monitoring * It will terminates values and event streams (complete will be called on your subsriptions) */ stop(): this; /** * Pause monitoring */ pause(): this; }