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