import { Definitions, FlowElement, Process, SubProcess } from 'bpmn-moddle'; /** * Extract the flow elements from the given bpmn moddle definitions * @param moddleDefinitions * @returns array of flow elements */ export declare function getFlowElements(moddleDefinitions: Definitions | Process | SubProcess): FlowElement[]; export declare function getAllNestedFlowElements(moddleDefinitions: Definitions | Process | SubProcess): FlowElement[]; /** * Find a given element by id * @param moddleDefinitions | SubProcess * @param id * @returns the element, if found else null */ export declare function findElementById(moddleDefinitions: Definitions | SubProcess, id: string): FlowElement | undefined; export declare const activityTypes: string[]; //# sourceMappingURL=getFlowElements.d.ts.map