| 12345678910111213141516171819202122 |
- export default class BpmnTreeWalker {
- /**
- * @param handler
- * @param translate
- */
- constructor(handler: Record<'element' | 'root' | 'error', Function>, translate: Translate);
- registerDi: (di: any) => void;
- /**
- * Handle definitions and return the rendered diagram (if any).
- *
- * @param definitions to walk and import
- * @param diagram specific diagram to import and display
- *
- * @throws {Error} if no diagram to display could be found
- */
- handleDefinitions: (definitions: ModdleElement, diagram?: ModdleElement) => void;
- handleDeferred: () => void;
- handleSubProcess: (subProcess: any, context: any) => void;
- }
- export type Translate = typeof import("diagram-js/lib/i18n/translate/translate").default;
- type ModdleElement = import('../model/Types').ModdleElement;
|