import type { CustomLeaf } from '../../../el'; export interface FootnoteReferenceMdast { identifier?: string; label?: string; } /** * remark-gfm `footnoteReference` → Slate 文本叶子(与 `useHighlight` / `FncLeaf` 主路径一致) */ export declare function footnoteReferenceToTextLeaf(currentElement: FootnoteReferenceMdast): CustomLeaf; /** * 处理 MDAST 脚注引用(内联或顶层 handler 共用) */ export declare const handleFootnoteReference: (currentElement: FootnoteReferenceMdast) => CustomLeaf; /** 将历史 `footnoteReference` 元素转为文本叶子 */ export declare function legacyFootnoteReferenceElementToTextLeaf(node: { identifier?: string; text?: string; children?: { text?: string; }[]; }): CustomLeaf;