import LogicFlow, { BaseNodeModel } from '@logicflow/core'; declare type BaseNodeId = string; declare type GroupId = string; declare type Bounds = { x1: number; y1: number; x2: number; y2: number; }; declare class Group { static pluginName: string; lf: LogicFlow; activeGroup: any; nodeGroupMap: Map; constructor({ lf }: { lf: any; }); appendNodeToGrop: ({ data }: { data: any; }) => void; setActiveGroup: ({ data }: { data: any; }) => void; getGroups(): void; /** * 获取自定位置其所属分组 */ getGroup(bounds: Bounds): BaseNodeModel | undefined; } export { Group };