/** * markdownParser.ts * Parse markdown files and extract metadata and content */ import type { ParsedDoc } from './types.js'; /** * Parse a markdown file * @param content - Raw markdown content * @param path - File path for context * @returns Parsed document with metadata and content */ export declare function parseMarkdown(content: string, path: string): Promise; /** * Strip markdown formatting to plain text * Used for search indexing * @param markdown - Markdown content * @returns Plain text */ export declare function markdownToPlainText(markdown: string): Promise; /** * Extract section from file path * E.g., "learn/hooks/useState.md" -> "learn" */ export declare function extractSection(path: string): string; /** * Normalize path (forward slashes, no leading slash, no .md extension for display) */ export declare function normalizePath(filePath: string): string; /** * Convert a kebab-case or snake_case slug to Title Case * E.g., "the-new-architecture" -> "The New Architecture" */ export declare function titleCase(slug: string): string; //# sourceMappingURL=markdownParser.d.ts.map