import { Position } from "../../xyflow/react.js";
let AgentFlow_constants_ResourceNodeType = /*#__PURE__*/ function(ResourceNodeType) {
    ResourceNodeType["Context"] = "context";
    ResourceNodeType["Escalation"] = "escalation";
    ResourceNodeType["MCP"] = "mcp";
    ResourceNodeType["Tool"] = "tool";
    ResourceNodeType["MemorySpace"] = "memorySpace";
    ResourceNodeType["A2A"] = "a2a";
    return ResourceNodeType;
}({});
const ResourceNodeTypeToPosition = {
    [AgentFlow_constants_ResourceNodeType.Context]: Position.Bottom,
    [AgentFlow_constants_ResourceNodeType.Escalation]: Position.Top,
    [AgentFlow_constants_ResourceNodeType.MCP]: Position.Bottom,
    [AgentFlow_constants_ResourceNodeType.Tool]: Position.Bottom,
    [AgentFlow_constants_ResourceNodeType.MemorySpace]: Position.Top,
    [AgentFlow_constants_ResourceNodeType.A2A]: Position.Bottom
};
const ResourceNodeTypeOrder = {
    [AgentFlow_constants_ResourceNodeType.MemorySpace]: 0,
    [AgentFlow_constants_ResourceNodeType.Escalation]: 1,
    [AgentFlow_constants_ResourceNodeType.Context]: 2,
    [AgentFlow_constants_ResourceNodeType.Tool]: 3,
    [AgentFlow_constants_ResourceNodeType.MCP]: 4,
    [AgentFlow_constants_ResourceNodeType.A2A]: 5
};
export { AgentFlow_constants_ResourceNodeType as ResourceNodeType, ResourceNodeTypeOrder, ResourceNodeTypeToPosition };
