import { BaseElement, ExtensionElements, FlowNode } from './Base/index'; import { Collaboration } from './Collaboration'; import { BpmnType } from './Constants'; import { EndEvent, StartEvent } from './Events/index'; import { Process } from './Process'; import { Xmlns } from './XMLNS'; /** * Contains the parsed ProcessModels, taken from a BPMN file. * This is the root object for the internal ProcessModel structure. */ export declare class Definitions implements BaseElement { id: string; displayName: string; /** * The date at which the diagram was deployed to the engine. */ deployedAt: Date; /** * The id of the user that deployed the diagram to the engine. */ deployedByUserId: string; /** * The hash under which the raw xml has been stored. */ hash: string; /** * The process' raw xml. */ raw: string; xmlns: Xmlns; targetNamespace: string; expressionLanguage: string; exporter: string; exporterVersion: string; /** * Contains information about the Collaboration associated with this * ProcessDefiniton, such as the participants. */ collaboration: Collaboration; /** * Contains a list of all processes contained within this definition. */ processes: Array; documentation?: string; extensionElements?: ExtensionElements; /** * Gets a list of all StartEvents contained in this ProcessDefinition. */ getAllStartEvents(): Array; /** * Gets a list of all EndEvents contained in this ProcessDefinition. */ getAllEndEvents(): Array; /** * Returns all FlowNodes that match the given type. */ getFlowNodesByType(bpmnType: BpmnType): Array; }