import { type Action as ReduxAction, type Reducer } from "redux"; interface LoadingState { [loading: string]: number; } export interface State { loading: LoadingState; app: { [key: string]: object; }; } declare const SET_STATE_ACTION = "@@framework/setState"; export interface Action

extends ReduxAction { payload: P; name?: typeof SET_STATE_ACTION; } interface SetStateActionPayload { module: string; state: any; } export declare function setStateAction(module: string, state: object, type: string): Action; interface LoadingActionPayload { identifier: string; show: boolean; } export declare const LOADING_ACTION = "@@framework/loading"; export declare function loadingAction(show: boolean, identifier?: string): Action; export declare function rootReducer(): Reducer; export declare function showLoading(state: State, identifier?: string): boolean; export {}; //# sourceMappingURL=reducer.d.ts.map