import type { SlideBackground, SlideElement, ThemeModel } from '../../presentation/types'; import type { PptParseContext } from '../types'; /** 描述一页 PPT 绘图解析后的背景和普通元素。 */ export type PptDrawingModel = { /** 当前绘图记录声明的幻灯片背景;未声明时交由母版或主题补全。 */ background?: SlideBackground; /** 排除背景记录后可直接交给公共幻灯片渲染器的元素。 */ elements: SlideElement[]; }; /** 将一页 PPDrawing 转换为统一的文本与基础图形元素。 */ export declare function parsePptDrawing(bytes: Uint8Array, theme: ThemeModel, fonts: Map, context: PptParseContext): Promise;