import { Status } from './status'; import { StoreRecord } from './storeRecord'; export declare class State { private _currentStatus; private _eventsDispatched; private _currentStoreId; private _currentStoreRecord; private _circularEventDispatchLimit; private _currentDispatchCount; private _pendingEffects; constructor(); get currentStatus(): Status; get currentStoreId(): string; get currentStoreRecord(): StoreRecord; get eventsProcessed(): string[]; get pendingEffects(): any[]; moveToIdle(): void; moveToPreProcessing(storeId: string, storeRecord: StoreRecord): void; moveToEventDispatch(): void; /** * Called once per event dispatched within a single purge of the event queues (i.e. before the bus goes idle again). * Counting per event (not per dispatch round) catches a handler that keeps publishing to its own store, * which would otherwise loop forever inside a single round. */ incrementDispatchCount(): void; moveToPostProcessing(): void; executeEvent(executeAction: () => void): void; moveToEffectsProcessing(): void; moveToDispatchModelUpdates(): void; moveToHalted(): void; clearEventDispatchQueue(): void; clearPendingEffects(): void; private _clear; }