import{getValueFromMdParsedExtension as l}from"../utils/index.js";function m({parser:r,infoOrRef:s,mime:t,encoding:i}){const{resolved:e}=r.deref(s);let a;e.dataValue!==void 0?a=e.dataValue:e.serializedValue!==void 0?a=e.serializedValue:a=e.value;const n=a,d=l(e,"summary"),u=l(e,"description");return{value:a,rawValue:n,summary:d,description:u,mime:t,encoding:i}}export{m as getExamples};
