import { type ReactNode } from 'react'; import { type RenderContext } from '../components/rendering'; export type HtmlRenderer = (source: string, key: string) => ReactNode; export declare function renderInline(text: string, html?: HtmlRenderer): ReactNode; export declare function renderMarkdown(markdown: string, context?: RenderContext, html?: HtmlRenderer): ReactNode[]; export declare function fenceLanguage(info: string): string; export declare function isListBlock(block: string): boolean;