import { IGraph } from './graph'; import { INodeInstance } from './node'; export declare type IEdgeShapeType = 'Bezier' | 'Flow' | 'Straight' | 'Manhattan' | 'AdvancedBezier' | 'Bezier2-1' | 'Bezier2-2' | 'Bezier2-3' | 'BrokenLine'; export interface IEdgeInstance { id: string; type: 'node' | 'endpoint'; graph?: IGraph; sourceNode: INodeInstance; targetNode: INodeInstance; update: (params: { label?: string; properties?: string; formSchema?: string; editable?: string; [key: string]: any; formStatus?: 'COMPLETED' | 'WARNING'; }) => void; options: IEdge; renderPanelConfig: any; onSaveConfig: ({ onSuccess, onError, }: { onSuccess: any; onError: any; }) => any; } export interface IEdge { id: string; shapeType: IEdgeShapeType; sourceNode: string; targetNode: string; label?: string; properties?: {}; formSchema?: {}; formStatus?: 'COMPLETED' | 'WARNING'; editable?: boolean; formVisible?: boolean; selected?: boolean; hovered?: boolean; labelClickable?: boolean; runningStatus?: 'SUCCESS' | 'ERROR' | 'RUNNING' | string; [key: string]: any; }