/** * @author: yanxianliang * @date: 2025-08-20 21:46 * @modified:2025/8/20 21:46 by yanxianliang * @desc: 提供一个函数获取当前节点的所有上游节点 * * Copyright (c) 2025 by yanxianliang, All Rights Reserved. */ import { Node } from "@xyflow/react"; export declare const useGetUpstreamNodes: () => (nodeId?: string, allowParentFlow?: boolean) => { upstreams: NodeType[]; parents: NodeType[]; };