import { FlowNode } from '../Base/index'; import { BpmnType } from '../Constants'; import { Association, DataObject, DataObjectReference, DataStoreReference, LaneSet, SequenceFlow } from '../ProcessElements/index'; import { Activity } from './ActivityBase'; /** * Describes a BPMN Subprocess. * * Technically they work like normal processes, except that they exist only * within another process and are treated like an activity for that process. */ export type SubProcess = Activity & { readonly bpmnType: BpmnType.subProcess; laneSet?: LaneSet; flowNodes: Array; sequenceFlows: Array; associations: Array; dataStoreReferences: Array; dataObjectReferences: Array; dataObjects: Array; triggeredByEvent: boolean; };