import React from 'react'; import type { DocxParagraphBlock } from '../../services/docx/types'; /** DOCX段落组件属性。 */ type DocxParagraphProps = { /** 当前负责处理或渲染的内容块。 */ block: DocxParagraphBlock; /** 是否使用紧凑段落布局。 */ compact?: boolean; /** 是否使用 div 元素承载当前段落。 */ asDiv?: boolean; /** 是否忽略单元格末段不会参与行高的段后距。 */ suppressSpacingAfter?: boolean; /** 是否忽略相邻同样式段落之间的段前距。 */ suppressSpacingBefore?: boolean; /** 覆盖浏览器实际应用的段前距。 */ spacingBefore?: number; /** 是否使用 Office 形状文本的字体场景基线。 */ insideShape?: boolean; /** 查找结果对应的顶层正文块标识。 */ searchBlockId?: string; }; /** 渲染DOCX段落。 */ declare function DocxParagraphComponent({ block, compact, asDiv, suppressSpacingAfter, suppressSpacingBefore, spacingBefore, insideShape, searchBlockId, }: DocxParagraphProps): React.JSX.Element; export declare const DocxParagraph: React.MemoExoticComponent; export {};