///
import type { IGraphCommandService, IModelService, IPosition, NsGraph } from '@antv/xflow-core';
import type { Cell } from '@antv/x6';
import type { NsJsonSchemaForm } from '../canvas-json-schema-form';
export interface IFlowchartFormPanelProps {
style?: React.CSSProperties;
className?: string;
/** 是否展示 */
show?: boolean;
/** 节点位置 */
position?: IPosition;
prefixClz?: string;
controlMapService?: (editorMap: NsJsonSchemaForm.IControlMap) => NsJsonSchemaForm.IControlMap;
formSchemaService?: (args: {
cell: Cell;
targetType: NsJsonSchemaForm.TargetType;
targetData: NsJsonSchemaForm.TargetData;
modelService: IModelService;
commandService: IGraphCommandService;
}) => Promise;
getCustomRenderComponent?: NsJsonSchemaForm.ICustomRender;
header?: React.ReactNode;
}
export declare type IFlowchartFormWrapperProps = NsJsonSchemaForm.IControlProps & {
children: (config: Object, plugin: {
updateNode: (config: NsGraph.INodeConfig) => void;
updateEdge: (config: NsGraph.IEdgeConfig) => void;
updateGroup: (config: NsGraph.INodeConfig) => void;
}) => React.ReactElement;
};