import { Action } from '@ngrx/store'; import { AlertMsgTypes, IToastMessage } from '../reducers/core.reducer'; import { IOverlay, IOverlaysCriteria, IOverlaysCriteriaOptions } from '../models/overlay.model'; import { LayoutKey } from '../models/layout-options.model'; export declare enum CoreActionTypes { TOGGLE_MAP_LAYERS = "[Core] TOGGLE_MAP_LAYERS", TOGGLE_OVERLAY_FAVORITE = "[Core] TOGGLE_FAVORITE", TOGGLE_OVERLAY_PRESET = "[Core] TOGGLE_OVERLAY_PRESET", SET_TOAST_MESSAGE = "[Core] SET_TOAST_MESSAGE", SET_FAVORITE_OVERLAYS = "[Core] SET_FAVORITE_OVERLAYS", SET_PRESET_OVERLAYS = "[Core] SET_PRESET_OVERLAYS", CLEAR_ACTIVE_INTERACTIONS = "[Core] CLEAR_ACTIVE_INTERACTIONS", ADD_ALERT_MSG = "ADD_ALERT_MSG", REMOVE_ALERT_MSG = "REMOVE_ALERT_MSG", SET_OVERLAYS_CRITERIA = "SET_OVERLAYS_CRITERIA", SET_LAYOUT = "SET_LAYOUT", SET_LAYOUT_SUCCESS = "SET_LAYOUT_SUCCESS", BACK_TO_WORLD_VIEW = "BACK_TO_WORLD_VIEW", BACK_TO_WORLD_SUCCESS = "BACK_TO_WORLD_SUCCESS", GO_ADJACENT_OVERLAY = "GO_ADJACENT_OVERLAY", GO_NEXT_PRESET_OVERLAY = "GO_NEXT_PRESET_OVERLAY", ENABLE_COPY_ORIGINAL_OVERLAY_DATA = "ENABLE_COPY_ORIGINAL_OVERLAY_DATA", SET_WAS_WELCOME_NOTIFICATION_SHOWN_FLAG = "SET_WAS_WELCOME_NOTIFICATION_SHOWN_FLAG", UPDATE_OVERLAY_COUNT = "UPDATE_OVERLAY_COUNT", SET_AUTO_SAVE = "SET_AUTO_SAVE", SET_REMOVED_OVERLAY_IDS = "SET_REMOVED_OVERLAY_IDS", SET_REMOVED_OVERLAY_ID = "SET_REMOVED_OVERLAY_ID", RESET_REMOVED_OVERLAY_IDS = "RESET_REMOVED_OVERLAY_IDS", SET_REMOVED_OVERLAYS_VISIBILITY = "SET_REMOVED_OVERLAYS_VISIBILITY", SET_REMOVED_OVERLAY_IDS_COUNT = "SET_REMOVED_OVERLAY_IDS_COUNT", CHANGE_IMAGERY_MAP = "[Core] CHANGE_IMAGERY_MAP" } export declare type CoreActions = ToggleMapLayersAction | ToggleFavoriteAction | TogglePresetOverlayAction | SetToastMessageAction | SetFavoriteOverlaysAction | SetPresetOverlaysAction | ClearActiveInteractionsAction | AddAlertMsg | RemoveAlertMsg | BackToWorldView | BackToWorldSuccess | GoAdjacentOverlay | GoNextPresetOverlay | SetWasWelcomeNotificationShownFlagAction | UpdateOverlaysCountAction | SetRemovedOverlaysIdsAction | SetRemovedOverlaysIdAction | SetRemovedOverlaysVisibilityAction; export declare class GoAdjacentOverlay implements Action { payload: { isNext: boolean; }; type: string; constructor(payload: { isNext: boolean; }); } export declare class GoNextPresetOverlay implements Action { type: string; constructor(); } export declare class EnableCopyOriginalOverlayDataAction implements Action { payload: boolean; type: string; constructor(payload: boolean); } export declare class ToggleMapLayersAction implements Action { payload: { mapId: string; }; type: CoreActionTypes; constructor(payload: { mapId: string; }); } export declare class ToggleFavoriteAction implements Action { payload: { id: string; value: boolean; overlay?: IOverlay; }; type: string; constructor(payload: { id: string; value: boolean; overlay?: IOverlay; }); } export declare class TogglePresetOverlayAction implements Action { payload: { id: string; value: boolean; overlay?: IOverlay; }; type: string; constructor(payload: { id: string; value: boolean; overlay?: IOverlay; }); } export declare class SetToastMessageAction implements Action { payload?: IToastMessage; type: CoreActionTypes; constructor(payload?: IToastMessage); } export declare class SetFavoriteOverlaysAction implements Action { payload: IOverlay[]; type: CoreActionTypes; constructor(payload: IOverlay[]); } export declare class SetPresetOverlaysAction implements Action { payload: IOverlay[]; type: CoreActionTypes; constructor(payload: IOverlay[]); } export declare class ClearActiveInteractionsAction implements Action { payload?: { skipClearFor: Array; }; type: CoreActionTypes; constructor(payload?: { skipClearFor: Array; }); } export declare class AddAlertMsg implements Action { payload: { value: string; key: AlertMsgTypes; }; type: CoreActionTypes; constructor(payload: { value: string; key: AlertMsgTypes; }); } export declare class RemoveAlertMsg implements Action { payload: { value: string; key: AlertMsgTypes; }; type: CoreActionTypes; constructor(payload: { value: string; key: AlertMsgTypes; }); } export declare class SetOverlaysCriteriaAction implements Action { payload: IOverlaysCriteria; options: IOverlaysCriteriaOptions; type: CoreActionTypes; constructor(payload: IOverlaysCriteria, options?: IOverlaysCriteriaOptions); } export declare class SetLayoutAction implements Action { payload: LayoutKey; type: CoreActionTypes; constructor(payload: LayoutKey); } export declare class SetLayoutSuccessAction implements Action { type: CoreActionTypes; constructor(); } export declare class BackToWorldView implements Action { payload: { mapId: string; }; type: CoreActionTypes; constructor(payload: { mapId: string; }); } export declare class BackToWorldSuccess extends BackToWorldView { type: CoreActionTypes; } export declare class SetWasWelcomeNotificationShownFlagAction implements Action { payload: boolean; type: CoreActionTypes; constructor(payload: boolean); } export declare class UpdateOverlaysCountAction { payload: number; type: CoreActionTypes; constructor(payload: number); } export declare class SetRemovedOverlaysIdsAction implements Action { payload: string[]; type: CoreActionTypes; constructor(payload: string[]); } export declare class ResetRemovedOverlaysIdsAction implements Action { type: CoreActionTypes; } export declare class SetRemovedOverlaysIdAction implements Action { payload: { mapId: string; id: string; value: boolean; }; type: CoreActionTypes; constructor(payload: { mapId: string; id: string; value: boolean; }); } export declare class SetRemovedOverlaysVisibilityAction implements Action { payload: boolean; type: CoreActionTypes; constructor(payload: boolean); } export declare class SetAutoSave implements Action { payload: boolean; readonly type = CoreActionTypes.SET_AUTO_SAVE; constructor(payload: boolean); } export declare class SetRemovedOverlayIdsCount implements Action { payload: number; readonly type = CoreActionTypes.SET_REMOVED_OVERLAY_IDS_COUNT; constructor(payload: number); } export declare class ChangeImageryMap implements Action { payload: { id: string; mapType: string; sourceType?: string; }; readonly type = CoreActionTypes.CHANGE_IMAGERY_MAP; constructor(payload: { id: string; mapType: string; sourceType?: string; }); }