import { Logic, TypeAnnotation, ProcessElementV2, ProcessV2, LogicItem, CompletionProperty, MemberExpression, Entity } from '../concepts'; export declare const getProcessNameMap: { procInstStartBy: string; procInstId: string; procInstStartTime: string; procInstEndTime: string; nodeTitle: string; nodeDesc: string; nodeParticipants: string; nodeAssignees: string; nodeStartTime: string; nodeEndTime: string; nodeOutcome: string; taskId: string; taskStartTime: string; taskEndTime: string; taskOutcome: string; taskCompleteUser: string; }; export declare function getProeprtiesLabelMap(entity: Entity): { [key: string]: string; }; export declare function getProcessSystemVariableType(): { procInstStartBy: TypeAnnotation; procInstId: TypeAnnotation; procInstStartTime: TypeAnnotation; procInstEndTime: TypeAnnotation; nodeTitle: TypeAnnotation; nodeDesc: TypeAnnotation; nodeParticipants: TypeAnnotation; nodeAssignees: TypeAnnotation; nodeStartTime: TypeAnnotation; nodeEndTime: TypeAnnotation; nodeOutcome: TypeAnnotation; taskId: TypeAnnotation; taskStartTime: TypeAnnotation; taskEndTime: TypeAnnotation; taskOutcome: TypeAnnotation; }; /** * 获取当前任务之前的任务 * @param node * @param nodePorcess * @returns */ export declare function getPreviousTask(node: ProcessElementV2, nodeProcess?: ProcessV2): ProcessElementV2[]; export declare function transformIdentifier(arr: Array): MemberExpression[]; export declare function getProcessSystemVariables(processEle: ProcessElementV2): { title: string; value: string; children: any[]; expanded: boolean; icon: string; }[]; export declare function getFlowSystemVariables(processEle: ProcessElementV2): { value: string; label: string; children: { label: string; value: string; icon: string; }[]; }; export declare function genLaunchProcess(process: ProcessV2): Logic; export declare function genProcessOperate(process: ProcessV2, taskName: string): Logic; export declare function genUserTaskLogic(userTask: ProcessElementV2): Logic[]; export declare function getFlowAfterElements(el: ProcessElementV2): ProcessElementV2[]; export declare function getFlowBeforeElements(el: ProcessElementV2): ProcessElementV2[]; export declare function isFromStartNode(el: ProcessElementV2): boolean; /** * 生成流程的变量 */ export declare function genProcessVariables(prefix?: string[]): CompletionProperty[]; /** * @param node * @returns */ export declare function getProcessVariableSuggestions(node: LogicItem | ProcessElementV2): CompletionProperty[]; //# sourceMappingURL=getProcessesV2.d.ts.map