import type { ElementNode } from 'comark'; export * from 'comark/plugins/mermaid'; export { default } from 'comark/plugins/mermaid'; /** * HTML component render function for mermaid nodes. * Renders diagrams to inline SVG using `beautiful-mermaid`. * * @example * ```typescript * import mermaid, { Mermaid } from '@comark/html/plugins/mermaid' * import { createHtmlRenderer } from '@comark/html' * * const renderHtml = createHtmlRenderer({ * plugins: [mermaid()], * components: { Mermaid }, * }) * ``` */ export declare const Mermaid: ([, attrs]: ElementNode) => string;