import { Execution } from '../engine/Execution'; import { Node, Definition } from '.'; import { IExecution } from '../interfaces'; declare class Process { id: any; name: any; isExecutable: any; def: Definition; parent: Process; childrenNodes: Node[]; eventSubProcesses: any[]; subProcessEvents: any[]; scripts: Map; candidateStarterGroups: any; candidateStarterUsers: any; historyTimeToLive: any; isStartableInTasklist: any; constructor(definition: any, parent?: any); init(children: any, eventSubProcesses: any): void; /** * Notify process that it started * */ start(execution: Execution, parentToken: any): Promise; /** * Notify process that it ended * */ end(execution: IExecution): Promise; getStartNode(userInvokable?: boolean): any; getStartNodes(userInvokable?: boolean): any[]; getEventSubProcessStart(): Node[]; doEvent(execution: any, event: any, eventDetails?: {}): Promise; describe(): any[]; } export { Process };