import{getNodeAttribute as r}from"../helpers/get-node-attribute.js";import{getInnerText as i}from"../helpers/get-inner-text.js";function u(t){const e=r(t,"level");if(e)return{value:i(t.children),id:r(t,"id"),depth:e}}export{u as getHeadingData};
