import { GraphicNode } from "../node/GraphicNode";
export declare class GroupUtils {
    static addAllParentToSet(node: GraphicNode, parentSet: Set<GraphicNode>): void;
    /**
     * 验证所选节点是否满足编组条件
     */
    static validateGroupSelection(nodes: GraphicNode[]): {
        ok: boolean;
        validNodes: GraphicNode[];
        reason?: "not_enough_nodes" | "contains_group_child" | "different_parent" | "contains_container";
        msg?: string;
    };
    static findHoverNode(node: GraphicNode, selectSet: Set<GraphicNode>): GraphicNode;
    static flattenNodes(nodes: GraphicNode[]): GraphicNode[];
    static flattenGroupNodes(node: GraphicNode, nodeSet: Set<GraphicNode>): void;
}
//# sourceMappingURL=GroupUtils.d.ts.map