/**
* Markdown → HTML conversion, the import counterpart of ./markdown
* (docToMarkdown). Dependency-free and scoped to the same structural subset
* the serializer emits: headings, blockquotes, bullet/ordered/task lists
* (nested), fenced code blocks, GFM tables, horizontal rules, and the inline
* marks (**bold**, *italic*, ~~strike~~, `code`, [links](…), images).
*
* The output is intentionally plain HTML that the schema's parseDOM rules
* understand (e.g.
,
), and every
* consumer feeds it through htmlToDoc/htmlToSlice — so the schema and the
* sanitizer stay the single source of truth for what lands in the document.
*/
/** Inline Markdown → HTML. Code spans are lifted out first to stay literal. */
export declare function inlineToHtml(source: string): string;
/** Parses a Markdown string into schema-compatible HTML. */
export declare function markdownToHtml(markdown: string): string;
/**
* Conservative sniff for "this plain text is probably Markdown": one block
* construct or one unambiguous inline construct is required. HTML-looking
* text is never treated as Markdown.
*/
export declare function looksLikeMarkdown(text: string): boolean;