import type { ElementNode, State } from 'comark'; export * from 'comark/plugins/mermaid'; export { default } from 'comark/plugins/mermaid'; /** * ANSI component render function for mermaid nodes. * Renders diagrams as terminal-friendly ASCII using `beautiful-mermaid`. * * @example * ```typescript * import mermaid, { Mermaid } from '@comark/ansi/plugins/mermaid' * import { createAnsiRenderer } from '@comark/ansi' * * const renderAnsi = createAnsiRenderer({ * plugins: [mermaid()], * components: { Mermaid }, * }) * ``` */ export declare const Mermaid: ([, attrs]: ElementNode, state: State) => string;