import { IndexSignature } from '../types/global'; import { GuillotinaCommonObject } from '../types/guillotina'; export interface GuillotinaGlobalState { path: string; loading: boolean; context?: GuillotinaCommonObject; flash: { message?: string; type?: string; }; action: { action?: string; params?: IndexSignature; }; permissions: IndexSignature; errorStatus?: string; registry: IndexSignature; refresh?: number; } export declare const initialState: GuillotinaGlobalState; export declare enum GuillotinaReducerActionTypes { SET_PATH = "SET_PATH", SET_CONTEXT = "SET_CONTEXT", SET_ERROR = "SET_ERROR", SET_FLASH = "SET_FLASH", CLEAR_FLASH = "CLEAR_FLASH", SET_ACTION = "SET_ACTION", CLEAR_ACTION = "CLEAR_ACTION", REFRESH = "REFRESH", APPLY = "APPLY" } export declare function guillotinaReducer(state: GuillotinaGlobalState, action: { type: GuillotinaReducerActionTypes; payload: IndexSignature; }): GuillotinaGlobalState;