1 | import { InjectionToken, ModuleWithProviders, OnDestroy } from '@angular/core';
|
2 | import { Action, ActionReducer, ActionReducerMap, StoreFeature } from './models';
|
3 | import { ActionsSubject } from './actions_subject';
|
4 | import { ReducerManager, ReducerObservable } from './reducer_manager';
|
5 | import { ScannedActionsSubject } from './scanned_actions_subject';
|
6 | import { Store } from './store';
|
7 | import { FeatureSlice, RootStoreConfig, StoreConfig } from './store_config';
|
8 | import * as i0 from "@angular/core";
|
9 | export declare class StoreRootModule {
|
10 | constructor(actions$: ActionsSubject, reducer$: ReducerObservable, scannedActions$: ScannedActionsSubject, store: Store<any>, guard: any, actionCheck: any);
|
11 | static ɵfac: i0.ɵɵFactoryDeclaration<StoreRootModule, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
12 | static ɵmod: i0.ɵɵNgModuleDeclaration<StoreRootModule, never, never, never>;
|
13 | static ɵinj: i0.ɵɵInjectorDeclaration<StoreRootModule>;
|
14 | }
|
15 | export declare class StoreFeatureModule implements OnDestroy {
|
16 | private features;
|
17 | private featureReducers;
|
18 | private reducerManager;
|
19 | constructor(features: StoreFeature<any, any>[], featureReducers: ActionReducerMap<any>[], reducerManager: ReducerManager, root: StoreRootModule, actionCheck: any);
|
20 | ngOnDestroy(): void;
|
21 | static ɵfac: i0.ɵɵFactoryDeclaration<StoreFeatureModule, [null, null, null, null, { optional: true; }]>;
|
22 | static ɵmod: i0.ɵɵNgModuleDeclaration<StoreFeatureModule, never, never, never>;
|
23 | static ɵinj: i0.ɵɵInjectorDeclaration<StoreFeatureModule>;
|
24 | }
|
25 | export declare class StoreModule {
|
26 | static forRoot<T, V extends Action = Action>(reducers?: ActionReducerMap<T, V> | InjectionToken<ActionReducerMap<T, V>>, config?: RootStoreConfig<T, V>): ModuleWithProviders<StoreRootModule>;
|
27 | static forFeature<T, V extends Action = Action>(featureName: string, reducers: ActionReducerMap<T, V> | InjectionToken<ActionReducerMap<T, V>>, config?: StoreConfig<T, V> | InjectionToken<StoreConfig<T, V>>): ModuleWithProviders<StoreFeatureModule>;
|
28 | static forFeature<T, V extends Action = Action>(featureName: string, reducer: ActionReducer<T, V> | InjectionToken<ActionReducer<T, V>>, config?: StoreConfig<T, V> | InjectionToken<StoreConfig<T, V>>): ModuleWithProviders<StoreFeatureModule>;
|
29 | static forFeature<T, V extends Action = Action>(slice: FeatureSlice<T, V>): ModuleWithProviders<StoreFeatureModule>;
|
30 | static ɵfac: i0.ɵɵFactoryDeclaration<StoreModule, never>;
|
31 | static ɵmod: i0.ɵɵNgModuleDeclaration<StoreModule, never, never, never>;
|
32 | static ɵinj: i0.ɵɵInjectorDeclaration<StoreModule>;
|
33 | }
|