import { BackgroundType } from "../types/color"; import { RelsType } from "../types/slide"; import { TableStyle } from "../types/table"; import { ParagraphPropsType, RowPropsType, TextStyle } from "../types/text"; import { XMLElementsJson } from "../utils/xml"; import PPTX from "./PPTX"; import Theme from "./Theme"; import Node from "./node/Node"; type TableStyles = Record>; export default class SlideMaster { slideType: "slideMaster"; name: string; source: XMLElementsJson; pptx: PPTX; rels: RelsType; background: BackgroundType | null; colorMap: Record; textStyles: { titleStyle: TextStyle; bodyStyle: TextStyle; otherStyle: TextStyle; }; defaultTextStyle: { [key: string]: { props: ParagraphPropsType; defRPr: RowPropsType; }; }; nodes: Array; theme: Theme; tableStyles: TableStyles; constructor(name: string, source: XMLElementsJson, pptx: PPTX); get _relsPath(): string; load(): Promise; private _parseRels; _parseColorMap(): void; getColorThemeName(aliasName: string): string; _parseBackground(): void; _parseDefaultTextStyle(): void; _parseTextStyles(): void; _parseTableStyles(): void; _loadNodes(): Promise; getNodeByType(type: string): Node | undefined; getNodeByIdx(idx: string): Node | undefined; getNodeInheritAttrsByType(type: string, propertyPath: Array): void; getNodeInheritAttrsByIdx(idx: string, propertyPath: Array): void; } export {};