/** * Markdown syllabus parser * * Parses markdown-formatted syllabi into structured content. * Works with common syllabus formats from universities and K-12. * * @packageDocumentation */ import type { Parser, ParseResult, ParseOptions } from '../types/parser.js'; /** * Markdown parser for syllabi and course outlines * * @example * ```typescript * import { MarkdownParser } from 'learngraph/parsers'; * * const parser = new MarkdownParser(); * const result = await parser.parse(` * # Introduction to Physics * * ## Week 1: Motion * * ### Learning Objectives * - Describe the relationship between position, velocity, and acceleration * - Calculate velocity from displacement and time * - Apply kinematic equations to solve motion problems * * ## Week 2: Forces * * ### Learning Objectives * - Identify forces acting on objects * - Apply Newton's laws to predict motion * `); * * console.log(result.modules); // 2 modules (Week 1, Week 2) * console.log(result.stats.objectiveCount); // 5 objectives * ``` */ export declare class MarkdownParser implements Parser { readonly format: "markdown"; parse(content: string, options?: ParseOptions): Promise; } //# sourceMappingURL=markdown.d.ts.map