import type { IMermaidManager, IMermaidMarkdown } from './tokens'; /** * An implementation of mermaid fenced code blocks in markdown. */ export declare class MermaidMarkdown implements IMermaidMarkdown { protected _mermaid: IMermaidManager; readonly languages: string[]; readonly rank = 100; constructor(options: MermaidMarkdown.IOptions); /** * Pre-parse and cache the rendered text. */ walk(text: string): Promise; /** * Render the diagram. */ render(text: string): string | null; } /** * A namespace for mermaid markdown */ export declare namespace MermaidMarkdown { /** * Initialization options for mermaid markdown */ interface IOptions { mermaid: IMermaidManager; } }