import{u as t,q as i}from"./main-tangy-colts-beg.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,o){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,o),o)}};function r(e,o){const{data:s,isLoading:a}=t({queryFn:async({signal:h})=>i("webhooks",{appSlug:o,flowId:e},void 0,"POST",{signal:h}),queryKey:["webhooks",e||"all",o||"all"]});return{isWebhookLoading:a,webhooks:(s==null?void 0:s.data)||[]}}export{r as u};
