/** * Extract front matter from the given content * @param {string} content The content of a page * @param {string?} filepath The absolute path to the content file * @returns {{frontmatter: {[k:string]: any}, body: string}} The extracted front matter and body */ export default function parseFrontmatter(content: string, filepath?: string): { frontmatter: { [k: string]: any; }; body: string; };