import { Action } from '@ngrx/store'; import { GeometryObject } from 'geojson'; import { AlgorithmTask, AlgorithmTaskStatus, TasksPageToShow } from '../models/tasks.model'; import { IOverlay } from '../../../overlays/models/overlay.model'; export declare enum TasksActionTypes { SET_DRAW_INDICATOR = "[Algorithms] Set draw indicator", LOAD_TASKS = "[Algorithms] Load tasks", LOAD_TASKS_FINISHED = "[Algorithms] Load tasks finished", RUN_TASK = "[Algorithms] RUN_TASK", RUN_TASK_FINISHED = "[Algorithms] RUN_TASK_FINISHED", DELETE_TASK = "[Algorithms] Delete task", ADD_TASKS = "[Algorithms] ADD_TASKS", ADD_TASK = "[Algorithms] ADD_TASK", SELECT_TASK = "[Algorithms] SELECT_TASK", SET_PAGE_TO_SHOW = "[Algorithms] SET_PAGE_TO_SHOW", SET_CURRENT_TASK = "[Algorithms] SET_CURRENT_TASK", SET_CURRENT_TASK_NAME = "[Algorithms] SET_CURRENT_TASK_NAME", SET_CURRENT_TASK_STATUS = "[Algorithms] SET_CURRENT_TASK_STATUS", SET_CURRENT_TASK_ALGORITHM_NAME = "[Algorithms] SET_CURRENT_TASK_ALGORITHM_NAME", SET_CURRENT_TASK_REGION = "[Algorithms] Set region", SET_CURRENT_TASK_OVERLAYS = "[Algorithms] SET_CURRENT_TASK_OVERLAYS", SET_CURRENT_TASK_MASTER_OVERLAY = "[Algorithms] SET_CURRENT_TASK_MASTER_OVERLAY" } export declare type TasksActions = SetTaskDrawIndicator | SetCurrentTaskRegion; export declare class SetTaskDrawIndicator implements Action { payload: boolean; type: TasksActionTypes; constructor(payload: boolean); } export declare class LoadTasksAction implements Action { payload?: AlgorithmTask[]; type: TasksActionTypes; constructor(payload?: AlgorithmTask[]); } export declare class LoadTasksFinishedAction implements Action { payload: AlgorithmTask[]; type: TasksActionTypes; constructor(payload: AlgorithmTask[]); } export declare class AddTasksAction implements Action { payload: AlgorithmTask[]; type: TasksActionTypes; constructor(payload: AlgorithmTask[]); } export declare class AddTaskAction implements Action { payload: AlgorithmTask; type: TasksActionTypes; constructor(payload: AlgorithmTask); } export declare class RunTaskAction implements Action { type: TasksActionTypes; constructor(); } export declare class RunTaskFinishedAction implements Action { payload: AlgorithmTask; type: TasksActionTypes; constructor(payload: AlgorithmTask); } export declare class DeleteTaskAction implements Action { payload: string; type: TasksActionTypes; constructor(payload: string); } export declare class SelectTaskAction implements Action { payload: string; type: TasksActionTypes; constructor(payload: string); } export declare class SetTasksPageToShow implements Action { payload: TasksPageToShow; type: TasksActionTypes; constructor(payload: TasksPageToShow); } export declare class SetCurrentTask implements Action { payload: AlgorithmTask; type: TasksActionTypes; constructor(payload: AlgorithmTask); } export declare class SetCurrentTaskName implements Action { payload: string; type: TasksActionTypes; constructor(payload: string); } export declare class SetCurrentTaskStatus implements Action { payload: AlgorithmTaskStatus; type: TasksActionTypes; constructor(payload: AlgorithmTaskStatus); } export declare class SetCurrentTaskMasterOverlay implements Action { payload: IOverlay; type: TasksActionTypes; constructor(payload: IOverlay); } export declare class SetCurrentTaskOverlays implements Action { payload: IOverlay[]; type: TasksActionTypes; constructor(payload: IOverlay[]); } export declare class SetCurrentTaskRegion implements Action { payload: GeometryObject; type: TasksActionTypes; constructor(payload: GeometryObject); } export declare class SetCurrentTaskAlgorithmName implements Action { payload: string; type: TasksActionTypes; constructor(payload: string); }