/** * Lightweight frontmatter parser for specify specs. * * Parses the leading --- block from markdown files. * Returns a plain object or null if no frontmatter is found. * * Supports: * - scalar: key: value * - inline list: key: [a, b, c] * - block list: * key: * - item1 * - item2 * * We intentionally do NOT depend on markdown-lsp for frontmatter — * markdown-lsp does not parse frontmatter out of the box (plan fact). * gray-matter is the external dep for production use; this module adds * a zero-dep fallback that handles the spec's subset. */ export type FrontmatterValue = string | string[] | Record; export type Frontmatter = Record; /** * Parse frontmatter from a markdown file's text. * Returns the parsed object or null if no frontmatter block is present. */ export declare function parseFrontmatter(text: string): Frontmatter | null; //# sourceMappingURL=frontmatter.d.ts.map