import React, { CSSProperties } from 'react'; import type { RenderLeafProps } from 'slate-react'; import type { FootnoteDefinitionNode } from '../../../el'; import { MarkdownEditorProps } from '../../../types'; interface FncLeafProps extends RenderLeafProps { fncProps: MarkdownEditorProps['fncProps']; linkConfig?: MarkdownEditorProps['linkConfig']; style?: CSSProperties; prefixClassName?: string; /** Definition supplied by the readonly Markdown renderer. */ definition?: FootnoteDefinitionNode; } /** * FncLeaf:脚注引用(fnc)与行内脚注定义标记(fnd)的叶子渲染 */ export declare const FncLeaf: ({ attributes, children, leaf, fncProps, linkConfig, style, prefixClassName, definition, }: FncLeafProps) => React.JSX.Element; export {};