@5minds/processcube_app_sdk
Version:
The SDK for ProcessCube Apps
24 lines (23 loc) • 1.02 kB
TypeScript
import { ForwardedRef } from 'react';
import React from 'react';
import { HeatmapService } from '../services';
import { BPMNViewerFunctions } from './BPMNViewer';
export type DiagramDocumentationInspectorRef = {
bpmnViewerRef: BPMNViewerFunctions & {
onImportDone(callback: () => void): void;
};
};
type DiagramDocumentationInspectorProps = {
xml: string;
setSelectedElementIds?: (elementIds: string[]) => void;
showHeatmap?: boolean;
heatmapService?: HeatmapService;
processModel?: any;
heatmapType?: string;
};
export declare const DiagramDocumentationInspector: React.ForwardRefExoticComponent<DiagramDocumentationInspectorProps & React.RefAttributes<DiagramDocumentationInspectorRef>>;
export type DiagramDocumentationInspectorNextJSProps = DiagramDocumentationInspectorProps & {
viewerRef?: ForwardedRef<DiagramDocumentationInspectorRef>;
};
export declare const DiagramDocumentationInspectorNextJS: React.ComponentType<DiagramDocumentationInspectorNextJSProps>;
export {};