/** * Document Parser * Parses markdown documentation files with YAML frontmatter */ import { ParsedDocument } from '../types/documentation.js'; export declare class DocumentParser { /** * Parse a documentation file */ parse(filePath: string): Promise; /** * Extract and validate metadata from frontmatter */ private extractMetadata; /** * Extract code blocks from markdown */ private extractCodeBlocks; /** * Extract Mermaid flowcharts from markdown */ private extractFlowcharts; /** * Check if file exists and is a valid markdown file */ isValidDocFile(filePath: string): Promise; /** * Parse multiple documentation files */ parseMultiple(filePaths: string[]): Promise; }