import { type DocxParseContext, type ReadBlockChildrenOptions } from './docxParsingContext'; import type { DocxBlock, DocxInline } from './types'; /** 读取绘图文本框内块级内容的回调。 */ export type DocxDrawingContentReader = (node: Element | null | undefined, id: string, context: DocxParseContext, options?: ReadBlockChildrenOptions) => DocxBlock[]; /** DOCX 行内绘图解析器。 */ export type DocxDrawingParser = { /** 将绘图、VML 或兼容内容节点转换为行内模型。 */ parseRunChild(node: Element, context: DocxParseContext): DocxInline | undefined; }; /** 创建可递归读取文本框内容的 DOCX 绘图解析器。 */ export declare function createDocxDrawingParser(readBlocks: DocxDrawingContentReader): DocxDrawingParser;