1 | import { EnvironmentProviders, InjectionToken, Provider } from '@angular/core';
|
2 | import { Action, ActionReducer, ActionReducerMap } from './models';
|
3 | import { FeatureSlice, RootStoreConfig, StoreConfig } from './store_config';
|
4 | export declare function provideState<T, V extends Action = Action>(featureName: string, reducers: ActionReducerMap<T, V> | InjectionToken<ActionReducerMap<T, V>>, config?: StoreConfig<T, V> | InjectionToken<StoreConfig<T, V>>): EnvironmentProviders;
|
5 | export declare function provideState<T, V extends Action = Action>(featureName: string, reducer: ActionReducer<T, V> | InjectionToken<ActionReducer<T, V>>, config?: StoreConfig<T, V> | InjectionToken<StoreConfig<T, V>>): EnvironmentProviders;
|
6 | export declare function provideState<T, V extends Action = Action>(slice: FeatureSlice<T, V>): EnvironmentProviders;
|
7 | export declare function _provideStore<T, V extends Action = Action>(reducers?: ActionReducerMap<T, V> | InjectionToken<ActionReducerMap<T, V>> | Record<string, never>, config?: RootStoreConfig<T, V>): Provider[];
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 | export declare function provideStore<T, V extends Action = Action>(reducers?: ActionReducerMap<T, V> | InjectionToken<ActionReducerMap<T, V>>, config?: RootStoreConfig<T, V>): EnvironmentProviders;
|
24 | export declare function _provideState<T, V extends Action = Action>(featureNameOrSlice: string | FeatureSlice<T, V>, reducers?: ActionReducerMap<T, V> | InjectionToken<ActionReducerMap<T, V>> | ActionReducer<T, V> | InjectionToken<ActionReducer<T, V>>, config?: StoreConfig<T, V> | InjectionToken<StoreConfig<T, V>>): Provider[];
|