import{useMemo as n}from"react";import{buildContentItems as s}from"../services/index.js";const I=({options:t,parser:e})=>{const{contentItems:m,flatItems:o}=n(()=>s(e,t),[t,e]);return{flatItems:o,contentItems:m}};export{I as useContentItems};
