import type { XmlNode } from "../../types/index"; interface WordCoreJsNode { declaration?: { attributes?: { [key: string]: string; }; }; elements?: XmlNode; } interface WordCoreXmlJsGenerateParams { /** 外部传入原始coreJ,可选 */ coreJs?: WordCoreJsNode; /** 是更新信息而非创建? */ update?: boolean; /** 创建人 */ creator?: string; /** 最后更新人 */ updator?: string; /** 标题 */ title?: string; /** 主题 */ /** 修订号 */ subject?: string; revision?: number | string; } /** 生成docx解压后的docProps/core.xml文件对应的js对象 */ export declare const getWordCoreXmlJs: (params: WordCoreXmlJsGenerateParams) => WordCoreJsNode | { declaration: { attributes: { version: string; encoding: string; standalone: string; }; }; elements: { type: string; name: string; attributes: { 'xmlns:cp': string; 'xmlns:dc': string; 'xmlns:dcterms': string; 'xmlns:dcmitype': string; 'xmlns:xsi': string; }; elements: ({ type: string; name: string; elements: { type: string; text: string; }[]; attributes?: undefined; } | { type: string; name: string; attributes: { 'xsi:type': string; }; elements: { type: string; text: string; }[]; })[]; }[]; }; export {};