import type { OfficeResourceSource } from '../resource-store'; import type { XlsxPackageContext } from './XlsxPackageContext'; /** 把浏览器不能直接显示的 EMF/WMF 转换为独立 SVG。 */ export declare function convertXlsxImageBytes(path: string, bytes: Uint8Array): { bytes: Uint8Array; mimeType: string; }; /** 为物化解析路径生成可直接渲染的图片 Data URL。 */ export declare function xlsxImageBytesToDataUrl(path: string, bytes: Uint8Array): string; /** 为 XLSX 建立按需图片资源,元文件只在进入可见范围时转换。 */ export declare function createXlsxImageResource(context: XlsxPackageContext, imagePath: string): OfficeResourceSource | undefined;