import { DisposableBase } from '../../system/disposables'; import { StoreAddress } from '../storeAddress'; export interface DiagnosticMonitor extends DisposableBase { addStore(storeId: string): void; removeStore(storeId: string): void; publishEvent(storeIdOrStoreAddress: string | StoreAddress, eventType: string, event: string): void; broadcastEvent(eventType: string): void; executingEvent(eventType: string): void; eventEnqueued(storeId: string, entityKey: string, eventType: string, event: any): void; dispatchLoopStart(): void; startingModelEventLoop(storeId: string, entityKey: string, initiatingEventType: string): void; preProcessingModel(): void; dispatchingEvents(): void; dispatchingEvent(eventType: string, stage: string): void; finishDispatchingEvent(): void; postProcessingModel(): void; endingModelEventLoop(): void; dispatchingModelUpdates(storeId: string, model: any): void; dispatchLoopEnd(): void; halted(storeIds: string[], err: string): void; }