import { MarkdownViewerConfig } from './types';
export type { MarkdownViewerConfig, MermaidTheme } from './types';
export { markdownToHtml, resetCodeBlockCounter, markdownParserUtils, base64Encode, base64Decode, } from './parser';
export type { MarkdownParserOptions } from './parser';
export declare class MarkdownViewer {
    readonly el: HTMLDivElement;
    private readonly viewerId;
    private readonly mermaidTheme;
    private readonly supportMermaid;
    private currentContent;
    private mermaidInstances;
    constructor(config: MarkdownViewerConfig);
    /** Update the markdown content and re-render */
    setContent(content: string): void;
    /**
     * Find all mermaid placeholder divs and render them as diagrams.
     * This method lazy-loads the MermaidDiagram component on first use.
     */
    renderMermaidDiagrams(): Promise<void>;
    /** Destroy all mermaid diagram instances */
    private destroyMermaidInstances;
    /** Remove the viewer from the DOM */
    destroy(): void;
}
//# sourceMappingURL=index.d.ts.map