import { IGraph, INode, INodeInstance } from '../types'; declare const getNodesPosition: (nodes: INodeInstance[] | INode[]) => { maxLeft: number; minLeft: number; minTop: number; maxTop: number; }; export declare const fixNodeCenter: (nodes: INode[], graph: IGraph) => ({ type: "TASK"; runningStatus?: string; icon?: string; formSchema?: {}; editable?: boolean; formVisible?: boolean; formStatus?: "ERROR" | "COMPLETED" | "WARNING"; properties?: {}; id: string; title: string; selected?: boolean; unCopyable?: boolean; unRemovable?: boolean; maxOutputNum?: number; maxInputNum?: number; width?: number; height?: number; originKey?: string; left: number; top: number; } | { type: "RELATION"; relationType: string; icon?: string; outputFormSchema?: {}; outputEditable?: {}; outputLabel?: string; id: string; title: string; selected?: boolean; unCopyable?: boolean; unRemovable?: boolean; maxOutputNum?: number; maxInputNum?: number; width?: number; height?: number; originKey?: string; left: number; top: number; } | { type: "START"; id: string; title: string; icon?: string; selected?: boolean; unCopyable?: boolean; unRemovable?: boolean; maxOutputNum?: number; maxInputNum?: number; width?: number; height?: number; originKey?: string; left: number; top: number; } | { type: "END"; id: string; title: string; icon?: string; selected?: boolean; unCopyable?: boolean; unRemovable?: boolean; maxOutputNum?: number; maxInputNum?: number; width?: number; height?: number; originKey?: string; left: number; top: number; })[]; export default getNodesPosition;