SubprocessCompatibility.d.ts 670 B

123456789101112131415161718192021
  1. /**
  2. * Hook into `import.render.start` and create new planes for diagrams with
  3. * collapsed subprocesses and all DI elements on the same plane.
  4. *
  5. */
  6. export default class SubprocessCompatibility {
  7. static $inject: string[];
  8. /**
  9. * @param eventBus
  10. * @param moddle
  11. */
  12. constructor(eventBus: EventBus, moddle: Moddle);
  13. }
  14. type EventBus = import('diagram-js/lib/core/EventBus').default;
  15. type Moddle = import('../../model/Types').Moddle;
  16. type Element = import('../../model/Types').Element;
  17. type Shape = import('../../model/Types').Shape;
  18. type CanvasPlane = import('diagram-js/lib/core/Canvas').CanvasPlane;
  19. type Rect = import('diagram-js/lib/util/Types').Rect;