export class PPTXTemplater { static load(source: string | Buffer, options?: any): Promise; static setLogLevel(level: string): void; static preload(source: string | Buffer): Promise; static cache(source: string | Buffer): Promise; static fromCache(source: string | Buffer): Promise; static clearCache(): void; static fromPresentationXml(options: any): Promise; static create(): Promise; static extractPptx(pptxPath: string, outputPath: string, options?: any): Promise; static buildPptx(folderPath: string, pptxPath: string): Promise; slideCount: number; useSlide(slideNumber: number): this; replaceText(replacements: Record): this; updateChart(chartName: string, data: any): this; updateChartTitle(chartName: string, title: string): this; applyZOrder(slideNumber: number, zOrderConfig: any[]): this; removeSlide(slideNumber: number): this; addHyperlink(options: any): this; addSlideLink(options: any): this; getTableRows(tableName: string): Promise; updateTable(tableName: string, rows: any[][]): this; addTableRow(tableName: string, row: any[]): this; removeTableRow(tableName: string, rowIndex: number): this; mergeCells(tableName: string, startRow: number, startCol: number, endRow: number, endCol: number): this; saveToFile(filePath: string, options?: any): Promise; save(filePath: string, options?: any): Promise; saveXml(folderPath: string): Promise; saveToFolder(folderPath: string): Promise; toBuffer(options?: any): Promise; toStream(options?: any): Promise; saveToStream(writableOrOptions: any, options?: any): Promise; exportSlides(...slideNumbers: number[]): Promise; importSlideFrom(sourceEngine: PPTXTemplater, slideRef: any): Promise; repair(): Promise; inspectXML(xmlPath: string): Promise; validateCharts(): Promise; repairCharts(): Promise; inspectChartXML(chartFileName: string): Promise; getDataLabels(chartId: string, options?: any): Promise; validateDataLabels(chartId: string, options?: any): Promise; validateChartLabels(chartId: string, options?: any): Promise; validateSeriesNameLabels(chartId: string, options?: any): Promise; getChartLabelPositions(chartId: string): Promise; getChartBarPositions(chartId: string): Promise; addShape(typeOrOptions: any, options?: any): Promise; updateShape(shapeId: string, options: any): Promise; removeShape(shapeId: string): Promise; addCellShape(tableId: string, rowIndex: number, colIndex: number, options: any): Promise; updateCellShape(tableId: string, rowIndex: number, colIndex: number, shapeIndex: number, options: any): Promise; removeCellShape(tableId: string, rowIndex: number, colIndex: number, shapeIndex: number): Promise; replaceImage(imageIdOrName: string, sourcePathOrBuffer: string | Buffer): Promise; addImage(sourcePathOrBuffer: string | Buffer, options?: any): Promise; validatePresentation(): Promise; validatePresentationXml(): Promise; validateSlide(slideIndex: number): Promise; validateTable(tableId: string): Promise; validateArchive(): Promise; } export const PPTXTemplate: typeof PPTXTemplater; export class ZipManager { [key: string]: any; } export class XMLParser { [key: string]: any; } export const Z_ORDER_SYMBOL: unique symbol; export class SlideManager { [key: string]: any; } export class ChartManager { [key: string]: any; } export class TableManager { [key: string]: any; } export class ShapeManager { [key: string]: any; } export class ImageManager { [key: string]: any; } export class TextManager { [key: string]: any; } export class HyperlinkManager { [key: string]: any; } export class MediaManager { [key: string]: any; } export class RelationshipManager { [key: string]: any; } export class OutputWriter { [key: string]: any; } export class TemplateEngine { [key: string]: any; } export class ValidationEngine { [key: string]: any; } export function generateRelationshipId(slideId: any): string; export function parseRelationshipId(relId: string): any; export function validateXml(xmlStr: string): any; export function validateXML(xmlStr: string): any; export function safeParseXml(xmlStr: string): any; export function repairXML(xmlStr: string): string; export function scanForEntities(xmlStr: string): any; export function analyzeXmlFile(xmlStr: string): any; export function reportXmlComplexity(xmlStr: string): any; export function createLogger(name: string): any; export function setGlobalLogLevel(level: string): void; export function resetLogLevel(): void; export class PPTXError extends Error {} export class SlideNotFoundError extends PPTXError {} export class ChartNotFoundError extends PPTXError {} export class TableNotFoundError extends PPTXError {}