import React from 'react';
import { IProps, IOnFolderExpand, INodeFactoryArgs } from './interface';
import { IModelService, IGraphConfig, NsGraph, IGraphCommandService } from '@antv/xflow';
import { NsTreePanelData } from './service';
export declare const defaultNodeFactory: (args: INodeFactoryArgs) => import("@antv/x6").Node<import("@antv/x6").Node.Properties>;
interface IConfigRenderOptions {
    graphConfig: IGraphConfig;
    modelService: IModelService;
    commandService: IGraphCommandService;
    nodeConfig: NsGraph.INodeConfig;
    onMouseDown: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void;
}
export declare const renderNode: (props: IConfigRenderOptions) => JSX.Element;
interface ITitleProps {
    prefixClz: string;
    item: any;
    graphConfig: any;
    modelService: IModelService;
    commandService: IGraphCommandService;
    popoverContent: React.ReactNode;
    onMouseDown: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void;
}
export declare const NodeTitle: (props: ITitleProps) => JSX.Element;
export interface IBodyProps extends IProps {
    state: NsTreePanelData.IState;
    onFolderExpand: IOnFolderExpand;
}
export declare const NodePanelBody: React.FC<IBodyProps>;
export {};
