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