import type { Document, Inline, Text } from '@contentful/rich-text-types'; /** * Converts a Markdown string to a Contentful Rich Text Document. * * Supports (basic): * - Headings: # to ###### * - Paragraphs * - Bold: **text** or __text__ * - Italic: *text* or _text_ * - Bold+italic: ***text*** * - Inline code: `code` * - Links: [text](url) * - Unordered lists: - item or * item (nested via indentation; blank line ends list) * - Ordered lists: 1. item (nested via indentation) * - Blockquotes: > text * - Horizontal rules: --- * - GFM tables: | col | col | */ export declare function markdownToRtf(markdown: string): Document; /** * Parses inline Markdown into Contentful rich-text nodes (text + hyperlinks). * For block-level Markdown use {@link markdownToRtf}. */ export declare function markdownToRtfInlines(markdown: string): (Text | Inline)[]; //# sourceMappingURL=fromMarkdown.d.ts.map