import React from 'react'; import { EditorContextProps } from '../EditorContext'; import { Node, Edge } from '../../common/interfaces'; declare type DetailPanelType = 'node' | 'edge' | 'multi' | 'canvas'; export interface DetailPanelComponentProps { type: DetailPanelType; nodes: Node[]; edges: Edge[]; } declare class DetailPanel { static create:

(type: DetailPanelType) => (WrappedComponent: React.ComponentType

) => React.ForwardRefExoticComponent>>, "children" | Exclude, "graph" | "executeCommand" | "commandManager">>> & React.RefAttributes>; } export default DetailPanel;