import*as Root from"../root/root.js";export function getMarkdownFileContent(o){const t=Root.Runtime.cachedResources.get(o);if(!t)throw new Error(`Markdown file ${o} not found. Declare it as a resource in the module.json file`);return t}export function findTitleFromMarkdownAst(o){return 0===o.length||"heading"!==o[0].type||1!==o[0].depth?null:o[0].text}