import { IBpmnModelerOptions } from './modeler/types'; export interface IBpmnEditorProps extends IBpmnModelerOptions { xml: string; readonly?: boolean; width?: number | string; height?: number | string; layout?: { minimap?: { open?: boolean; }; }; onChanged?: (editorState: any) => void; onImportXML?(error: Error | null, warnings: any[] | null): void; onError?(error: Error): void; className?: string; style?: any; } export interface IBpmnEditorState { modeler: any; canUndo: boolean; canRedo: boolean; propertiesFolded: boolean; }