import{ai as s,r as o}from"./index-a0da86f0.js";const D=s("flowBuilder",()=>{const e=o({}),a=o(""),l=o(!1);return{flowData:e,agentId:a,isActive:l,setFlowData:t=>{e.value=t},setAgentId:t=>{a.value=t},activateFlowBuilder:(t,u)=>{e.value=t,a.value=u,l.value=!0},deactivateFlowBuilder:()=>{e.value={},a.value="",l.value=!1},updateFlowData:t=>{e.value=t},hasFlowData:()=>Object.keys(e.value).length>0,getFlowData:()=>e.value,getAgentId:()=>a.value}});export{D as useFlowBuilderStore};
