import type { OfficeEntryMap } from '../../shared/ooxml/archive'; import { type OfficeRelationship } from '../../shared/ooxml/media'; import type { OfficeTheme } from '../../shared/ooxml/theme'; import type { XlsxSheet } from './types'; import { type StyleBook } from './xlsxCellFormatting'; /** 完整物化 XLSX 时共享的包资源与关系状态。 */ export type MaterializedXlsxPackageState = { /** 按包内路径索引的 OOXML 条目。 */ entries: OfficeEntryMap; /** 按关系文件路径组织的 OOXML 关系映射。 */ relationships: Record>; /** 按 OOXML 包内路径索引的媒体资源映射。 */ mediaByPath: Record; /** 按媒体文件名索引的资源映射。 */ mediaByName: Record; /** 当前文档使用的主题颜色和字体配置。 */ theme: OfficeTheme; }; /** 读取完整物化路径使用的共享字符串表。 */ export declare function readMaterializedXlsxSharedStrings(xml: string): string[]; /** 解析完整加载到内存中的 XLSX 工作表及其浮动对象。 */ export declare function parseMaterializedXlsxSheet(xml: string, sheetInfo: Pick, sharedStrings: string[], styleBook: StyleBook, packageState: MaterializedXlsxPackageState): XlsxSheet;