/** * Markdown list syntax inside a paragraph's text. * * A paragraph whose whole text is `- one\n- two` is a list, not prose, and has * always rendered as one. Detecting that is a pure reading of the text with no * renderer in it, so both the pre-IR writer and the DocxIR compiler read it * here rather than each deciding for itself what counts as a list. */ export interface MarkdownList { type: 'unordered' | 'ordered'; items: { text: string; level: number; }[]; } /** * Parse markdown list syntax from paragraph text * Returns null if no list detected, or { type, items } if list found */ export declare function parseMarkdownList(text: string): MarkdownList | null; //# sourceMappingURL=markdownList.d.ts.map