import { BehaviorSubject, Observable } from 'rxjs'; import { Action } from './action'; import { createFeatureSelector, createRelationSelector } from './selector'; import { Store } from './store'; import { RelationshipFromJDL } from './interface/relation.interface'; import { Container } from 'inversify'; declare class _Main { private static instance; static getInstance: () => _Main; private constructor(); isLogByFIle$: BehaviorSubject; /** * **detail:** log & warn & error * **expectLog:** warn & error * **none:** disable all print in mycena-store */ printMode: "detail" | "expectLog" | "none"; isUseEffect: boolean; } export declare const Main: _Main; export declare class CQRS { private _Store; private _container; private _appModule; private _app; private _appModuleType; get container(): Container; get appModule(): any; get appModuleType(): "nest" | "angular" | "unit-test" | "no-match"; get Store(): Store; get Actions(): Observable; private _isEffectLoadedSubscribe; constructor(); get relationshipFromJDL(): RelationshipFromJDL; seRelationshipFromJDL: (RelationshipFromJDL: RelationshipFromJDL) => void; /** * * @param appModuleType */ setAppModuleType(appModuleType: 'nest' | 'angular' | 'unit-test'): void; setAppModule: (appModule: any, app?: any) => void; private _RedisOptions; setProviders: (providers: any[]) => void; forRootReducers: (reducers: Reducers) => void; private AfterStoreIsInstantiated; private effectRetryCount; private effectRetryInterval; private isEffectLoaded$; private timeLabelSet; forRootEffects: (effects: any[]) => void; createFeatureSelector: typeof createFeatureSelector; createRelationSelector: typeof createRelationSelector; } export {};