import type { DhfDocument, DhfInline } from './document-ir.js'; export interface MarkdownDocMeta { documentId: string; title?: string; project?: string; organization?: string; version?: string; standards?: string[]; authors?: string[]; } /** Parse bold, italic, and code spans into DhfInline runs */ export declare function parseInlines(text: string): DhfInline[]; /** * Convert compiled markdown into a DhfDocument IR, sectioned at `##` headings. * Content before the first `##` becomes an untitled preamble section; a * leading `# Title` sets the document title unless meta.title is given. */ export declare function markdownToDhfDocument(markdown: string, meta: MarkdownDocMeta): DhfDocument; //# sourceMappingURL=markdown-to-ir.d.ts.map