/** * Core PowerPoint Service - Production Ready Implementation * Provides comprehensive PowerPoint functionality for AI agents */ export interface CreatePresentationInput { filePath: string; title?: string | undefined; author?: string | undefined; subject?: string | undefined; overwrite?: boolean | undefined; } export interface CreateSlideInput { filePath: string; layoutName?: string | undefined; backgroundColor?: string | undefined; } export interface AddTextInput { filePath: string; slideIndex: number; text: string; x: number; y: number; w: number; h: number; options?: { fontSize?: number | undefined; fontFamily?: string | undefined; color?: string | undefined; bold?: boolean | undefined; italic?: boolean | undefined; align?: 'left' | 'center' | 'right' | 'justify' | undefined; } | undefined; } export interface AddShapeInput { filePath: string; slideIndex: number; shape: string; position: { x: number; y: number; }; size: { w: number; h: number; }; options?: { fill?: string; line?: { color?: string; width?: number; }; }; } export interface AddImageInput { filePath: string; slideIndex: number; imagePath: string; position: { x: number; y: number; }; size: { w: number; h: number; }; options?: { transparency?: number; rotate?: number; }; } export interface AddTableInput { filePath: string; slideIndex: number; position: { x: number; y: number; }; size: { w: number; h: number; }; rows: string[][]; options?: { headerRow?: boolean; borderColor?: string; borderWidth?: number; }; } export interface AddChartInput { filePath: string; slideIndex: number; type: 'bar' | 'column' | 'line' | 'pie' | 'doughnut' | 'area' | 'scatter'; position: { x: number; y: number; }; size: { w: number; h: number; }; data: Array<{ name: string; labels: string[]; values: number[]; }>; options?: { title?: string; showLegend?: boolean; showDataLabels?: boolean; }; } export interface SavePresentationInput { filePath: string; format?: 'pptx' | 'pdf'; } export declare class PowerPointServiceCore { private presentations; /** * Create a new PowerPoint presentation */ createPresentation(input: CreatePresentationInput): Promise<{ success: boolean; message: string; filePath: string; }>; /** * Create a new slide in the presentation */ createSlide(input: CreateSlideInput): Promise<{ success: boolean; message: string; slideIndex: number; }>; /** * Add formatted text to a slide */ addText(input: AddTextInput): Promise<{ success: boolean; message: string; textId: string; }>; /** * Add shape to a slide */ addShape(input: AddShapeInput): Promise<{ success: boolean; message: string; shapeId: string; }>; /** * Save presentation to file */ savePresentation(input: SavePresentationInput): Promise<{ success: boolean; message: string; filePath: string; format: string; }>; /** * Get presentation information */ getPresentationInfo(filePath: string): Promise<{ success: boolean; title?: string; author?: string; slideCount: number; filePath: string; }>; } //# sourceMappingURL=PowerPointServiceCore.d.ts.map