import { MMELSubprocess } from '../../../../serialize/interface/flowcontrolinterface'; import { EditorDataClass, EditorNode } from '../../../editormodel'; import { ModelAction } from '../../model'; import { ElmAction } from '../elements'; export declare type RegistryCombined = EditorDataClass & { title: string; }; /** * Handle the command to delete registry * @param elms The elements in the model * @param ids The IDs of registries to be deleted * @returns The updated elements in the model */ export declare function delRegistry(elms: Record, ids: string[]): Record; /** * Handle the command to add registries * @param elms The elements in the model * @param regs The new regsitry objects to be added * @returns The updtaed elements in the model */ export declare function addRegistry(elms: Record, regs: EditorNode[]): Record; /** * Handle the command to edit a registry * @param elms The elements in the model * @param id The ID of the registry to be edited * @param item The updated content of the registry * @returns The updated elements in the model */ export declare function editRegistry(elms: Record, id: string, item: RegistryCombined): Record; /** * Examine the registry action and add cascade actions * @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 cascadeCheckRegs(elms: Record, pages: Record, action: ElmAction & { act: 'elements'; subtask: 'registry'; }): ModelAction[] | undefined; //# sourceMappingURL=registry.d.ts.map