import { Observable } from '../../node_modules/rxjs'; /** * How many Fish are active, and of which entityTypes? * @public */ export declare type FishProcessInfo = { numBeingProcessed: number; fish: { [semantics: string]: true | undefined; }; }; /** * What sort of activity is currently going on in the Pond? * @public */ export declare type PondState = { hydration: FishProcessInfo; commands: FishProcessInfo; eventsFromOtherSources: FishProcessInfo; }; /** * `PondState` associated functions. * @public */ export declare const PondState: { isHydrating: (state: PondState) => boolean; isProcessingCommands: (state: PondState) => boolean; isProcessingEventsFromOtherSources: (state: PondState) => boolean; isBusy: (state: PondState) => boolean; }; export declare type PondStateTracker = { observe(): Observable; /** * Returns key of the record */ hydrationStarted(fishSemantics: string, fishName: string): string; hydrationFinished(key: string): void; /** * Returns key of the record */ commandProcessingStarted(fishSemantics: string, fishName: string): string; commandProcessingFinished(key: string): void; /** * Returns key of the record */ eventsFromOtherSourcesProcessingStarted(fishSemantics: string, fishName: string): string; eventsFromOtherSourcesProcessingFinished(key: string): void; };