/** * Spec parser - extracts structured data from spec.md markdown * * @module strategies/speckit/spec-parser */ import type { SpecContent } from "./types.js"; /** * Parse spec.md markdown content into structured SpecContent * * @param markdown - The markdown content to parse * @returns Structured spec content for validation * * @example * ```typescript * const markdown = ` * # My Specification * * ## Overview * This is a sample spec. * * ## Objectives * - Implement feature X * - Improve performance * `; * * const spec = parseSpecFromMarkdown(markdown); * // Returns: { title: "My Specification", overview: "This is a sample spec.", ... } * ``` */ export declare function parseSpecFromMarkdown(markdown: string): SpecContent; //# sourceMappingURL=spec-parser.d.ts.map