1 | import { ApiClientConfig, HostFeatures } from './types';
|
2 | export declare const API_CLIENT_LOAD = "APICLIENT::LOAD";
|
3 | export declare const API_CLIENT_UNLOAD = "APICLIENT::UNLOAD";
|
4 | export declare const REDUCER_LOAD = "REDUCER::LOAD";
|
5 | export declare const REDUCER_LOAD_COMPLETE = "REDUCER::LOAD_COMPLETE";
|
6 | export interface ApiClientLoadAction {
|
7 | type: typeof API_CLIENT_LOAD;
|
8 | payload: ApiClientConfig;
|
9 | }
|
10 | export interface ApiClientUnloadAction {
|
11 | type: typeof API_CLIENT_UNLOAD;
|
12 | payload: ApiClientConfig;
|
13 | }
|
14 | export interface LoadReducerAction {
|
15 | type: typeof REDUCER_LOAD;
|
16 | payload: {
|
17 | feature: HostFeatures;
|
18 | };
|
19 | }
|
20 | export interface LoadCompleteReducerAction {
|
21 | type: typeof REDUCER_LOAD_COMPLETE;
|
22 | payload: {
|
23 | feature: HostFeatures;
|
24 | };
|
25 | }
|
26 | export declare function apiClientLoad(payload: ApiClientConfig): ApiClientLoadAction;
|
27 | export declare function apiClientUnload(payload: ApiClientConfig): ApiClientUnloadAction;
|
28 |
|
29 |
|
30 |
|
31 |
|
32 | export declare function hostLoadReducer(feature: HostFeatures): LoadReducerAction;
|
33 |
|
34 |
|
35 |
|
36 |
|
37 | export declare function hostLoadCompleteReducer(feature: HostFeatures): LoadCompleteReducerAction;
|
38 |
|
39 |
|
40 |
|
41 |
|
42 | export declare function isLoadReducerAction(action: any): action is LoadReducerAction;
|
43 |
|
44 |
|
45 |
|
46 |
|
47 | export declare function isLoadReducerCompleteAction(action: any): action is LoadCompleteReducerAction;
|