import * as ProviderActions from '../actions/provider-actions';
import { MapListItem } from '../cloud-providers';
type ActionPayload
= {
type?: string;
payload: P;
};
export type ProviderState = {
isProviderLoading: boolean;
isCloudMapLoading: boolean;
providerError: any;
currentProvider: string | null;
successInfo: any;
mapSaved: null | string;
initialState?: any;
visualizations: MapListItem[];
};
export declare const INITIAL_PROVIDER_STATE: ProviderState;
/**
* This method will export the current kepler config file to the chosen cloud proder
* add returns a share URL
*
*/
export declare const exportFileToCloudUpdater: (state: ProviderState, action: ActionPayload) => ProviderState;
export declare const exportFileSuccessUpdater: (state: ProviderState, action: ActionPayload) => ProviderState;
/**
* Close modal on success and display notification
*/
export declare const postSaveLoadSuccessUpdater: (state: ProviderState, action: ActionPayload) => ProviderState;
export declare const exportFileErrorUpdater: (state: ProviderState, action: ActionPayload) => ProviderState;
export declare const loadCloudMapUpdater: (state: ProviderState, action: ActionPayload) => ProviderState;
export declare const loadCloudMapSuccessUpdater: (state: ProviderState, action: ActionPayload) => ProviderState;
export declare const loadCloudMapErrorUpdater: (state: ProviderState, action: ActionPayload) => ProviderState;
export declare const resetProviderStatusUpdater: (state: ProviderState) => ProviderState;
/**
* Set current cloudProvider
*/
export declare const setCloudProviderUpdater: (state: ProviderState, action: ActionPayload) => ProviderState;
export declare const getSavedMapsUpdater: (state: ProviderState, action: ActionPayload) => ProviderState;
export declare const getSavedMapsSuccessUpdater: (state: ProviderState, action: ActionPayload) => ProviderState;
export declare const getSavedMapsErrorUpdater: (state: ProviderState, action: ActionPayload) => ProviderState;
export {};