import React from 'react';
import { RenderLeafProps } from 'slate-react';
import { MarkdownEditorProps } from '../../../types';
interface CommentLeafProps {
    children: React.ReactNode;
    leaf: RenderLeafProps['leaf'];
    comment: MarkdownEditorProps['comment'];
}
/**
 * 比较函数，用于优化 CommentLeaf 组件的渲染性能
 * @internal 供 React.memo 及单测使用
 */
export declare const areCommentLeafPropsEqual: (prevProps: CommentLeafProps, nextProps: CommentLeafProps) => boolean;
export declare const CommentLeaf: React.MemoExoticComponent<({ children, leaf, comment, }: CommentLeafProps) => React.JSX.Element>;
export {};
