/** * Markdown / TXT parser for the ingestion engine. * * Parses markdown into sections, respecting heading hierarchy. * Handles code blocks, tables, lists, and blockquotes as distinct content types. */ import type { ParsedDocument } from "./types"; /** * Parse a markdown or plain text file into structured sections. */ export declare function parseMarkdown(filePath: string): ParsedDocument; /** * Parse markdown content string directly (for testing / reuse). */ export declare function parseMarkdownContent(content: string, title?: string | null): ParsedDocument; /** * Parse a plain text file (no markdown structure). * Splits on blank lines as paragraph boundaries. */ export declare function parseTxt(filePath: string): ParsedDocument; /** * Parse a code file — treat the whole file as one code section * with the filename as the heading. */ export declare function parseCode(filePath: string): ParsedDocument; //# sourceMappingURL=markdown-parser.d.ts.map