import { Action } from '../../utils/actions/actions'; import { IUMLElement } from './uml-element'; export declare const enum UMLElementActionTypes { CREATE = "@@element/CREATE", UPDATE = "@@element/UPDATE", DELETE = "@@element/DELETE" } export type UMLElementState = { readonly [id: string]: IUMLElement; }; export type UMLElementActions = CreateAction | UpdateAction | DeleteAction; export type CreateAction = Action & { payload: { values: T[]; }; }; export type UpdateAction = Action & { payload: { values: (Pick & Partial)[]; }; }; export type DeleteAction = Action & { payload: { ids: string[]; }; };