import { ButtonProps } from 'antd'; import { IGraph } from './../types/graph'; import { IEdge } from './../types/edge'; import { INode } from './../types/node'; export declare type IPageMode = 'COMPONENT' | 'MICROAPP'; export declare type IActionProps = (ButtonProps & { title: string; }); export interface PageProps { mode?: IPageMode; config?: any; nodeSources?: { title: string; children: any[]; }[]; actionsList?: IActionProps[]; onGraphLoaded?: (graph: IGraph) => void; onSave?: (graphData: { nodes: INode[]; edges: IEdge[]; }) => Promise; }