import React, { Component } from "react"; import { IBpmnEditorProps, IBpmnEditorState } from "./types"; import "./bpmnEditor.scss"; declare class BpmnEditor extends Component { static defaultProps: { className: string; style: {}; }; private diagramRef; private propertiesPanelRef; constructor(props: Readonly | IBpmnEditorProps); componentDidMount(): Promise; componentWillUnmount(): void; componentDidUpdate(prevProps: any): void; componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void; get readonly(): boolean; getModeler(): any; getCommandStack(): any; listen(fnName: any): void; togglePropertiesPanel: () => void; canRedo(): any; canUndo(): any; redo(): void; undo(): void; zoomIn(): void; zoomOut(): void; zoomFit(): void; triggerAction(action: string, context?: any): any; handleChanged: () => void; handleResize(): void; renderDiagram(): void; initArrow(id: any): void; importXML(xml: string): Promise; saveSvg(name: string): Promise; savePng(name: string): Promise; savePdf(name: string): Promise; svgToPng(svgData: any): Promise; svgBlobToPdf(svg: any): Promise; getXML(): Promise; handleError: (error: Error) => void; renderPropertiesPanelHandler(): JSX.Element; render(): JSX.Element; } export default BpmnEditor;