import React from 'react';
import type { MermaidThemeToken } from './utils';
/**
 * Mermaid 渲染 Hook
 */
export declare const useMermaidRender: (code: string, divRef: React.RefObject<HTMLDivElement>, id: string, isVisible: boolean, themeToken?: MermaidThemeToken) => {
    error: string;
    renderedCode: string;
};
