import{tupleNum as e}from"../_util/type.mjs";import t from"../_util/warning.mjs";import n from"../_util/omit.mjs";import r,{baseProps as i}from"./Base.mjs";import{createVNode as a}from"vue";var o=e(1,2,3,4,5),s=()=>({...n(i(),[`component`,`strong`]),level:Number}),c=(e,{slots:n,attrs:i})=>{let{level:s=1,...c}=e,l;return o.includes(s)?l=`h${s}`:(t(!1,`Typography`,"Title only accept `1 | 2 | 3 | 4 | 5` as `level` value."),l=`h1`),a(r,{...c,component:l,...i},n)};c.displayName=`ATypographyTitle`,c.inheritAttrs=!1,c.props=s();export{c as default,s as titleProps};