import React from 'react'; import type { DocBlock, DocNote, DocNoteReferenceInline, DocPage } from '../../services/doc/types'; /** 递归收集 DOC/WPS 页面正文中的脚注和尾注引用。 */ export declare function collectDocNoteReferences(blocks: readonly DocBlock[]): DocNoteReferenceInline[]; /** DOC/WPS 页面脚注或文档尾注属性。 */ type DocNoteBlockProps = { /** 当前页面需要显示的脚注或尾注。 */ notes: readonly DocNote[]; /** 当前页面尺寸和页边距。 */ page: DocPage; /** 尾注使用文档末尾布局,脚注贴近当前页底部。 */ endnotes?: boolean; }; /** 在 DOC/WPS 页面底部或文档末尾渲染注释正文。 */ export declare function DocNoteBlock({ notes, page, endnotes, }: DocNoteBlockProps): React.JSX.Element | null; export {};