import { LogicFlow } from '@logicflow/core';
/**
 * 根据当前节点位置生成新节点位置
 */
export declare const genPos: (lf: LogicFlow) => {
    x: any;
    y: any;
};
/**
 * 生成一条新逻辑的起点
 */
export declare const genStartPos: (lf: LogicFlow) => {
    x: number;
    y: any;
};
/**
 * 基于当前节点生成一个节点的位置
 */
export declare const genNewNodePos: (lf: LogicFlow, nodeModel: {
    id: string;
    x: number;
    y: any;
}) => {
    x: any;
    y: any;
};
/**
 * 获取当前所有节点的边界
 */
export declare const getNodesRect: (nodes: any[]) => {
    minX: any;
    minY: any;
    maxX: any;
    maxY: any;
};
/**
 * 获取当前图形所有节点的边界
 */
export declare const getBoundRect: (lf: {
    getGraphData: () => any;
}) => {
    minX: any;
    minY: any;
    maxX: any;
    maxY: any;
};
/**
 * 生成一个不重复的ID
 * @param { Number } randomLength
 * @param prefix
 */
export declare const genId: (randomLength: number | undefined, prefix?: string) => string;
