import type { Component, Ref } from 'vue'; import type { ContentIcon, FileMetadata } from './content'; export interface MarkdownHeading { /** 1 to 6 for h1 to h6 */ level: number; /** Plain text title, used for slugs and search */ title: string; /** HTML title with inline code/math, sanitize before v-html */ titleHtml: string; /** The id attr of the header anchor */ slug: string; /** Anchor link, typically #slug */ link: string; children: MarkdownHeading[]; } export interface PageData { schema?: string; schemaLabel?: string; label?: string; icon?: ContentIcon; frontmatter: Record; headings: MarkdownHeading[]; title: string; metadata?: FileMetadata; } export interface PageModule { pageData: PageData; default: Component; } export interface TypedownData { /** Page-level data from the .td file */ page: Ref; /** Frontmatter fields */ frontmatter: Ref>; /** Page title */ title: Ref; /** Dark mode state */ isDark: Ref; } //# sourceMappingURL=ssg.d.ts.map