import { MMELSubprocess } from '../../../../serialize/interface/flowcontrolinterface'; import { EditorNode } from '../../../editormodel'; import { ModelAction } from '../../model'; import { ElmAction } from '../elements'; /** * Add a new data class * @param elms The elements in the model * @param dcs The new data classes * @returns The updated elements in the model */ export declare function addDC(elms: Record, dcs: EditorNode[]): Record; /** * Edit a data class * @param elms The elements in the model * @param id The ID of the data class to be edited * @param item The updated content of the data class * @returns The updated elements in the model */ export declare function editDC(elms: Record, id: string, item: EditorNode): Record; /** * Examine the action about data and add cascade actions if necessary * @param elms The elements in the model * @param pages The pages in the model * @param action The action * @returns The cascade actions for undo */ export declare function cascadeCheckDCs(elms: Record, pages: Record, action: ElmAction & { act: 'elements'; subtask: 'dc'; }): ModelAction[] | undefined; //# sourceMappingURL=dc.d.ts.map