import{bg as i,s as n,i as u,cF as a}from"./index.7e08ba81.js";function l(s){if(!i())throw new Error("useDescription() can only be used inside setup() or functional components!");const o=n(null),r=n(!1);function c(e){u(r)&&a()||(o.value=e,s&&e.setDescProps(s),r.value=!0)}return[c,{setDescProps:e=>{var t;(t=u(o))==null||t.setDescProps(e)}}]}export{l as u};