/** * Enhanced PowerPoint Service for AI Agents * Production-ready with advanced features, intelligent error recovery, and comprehensive AI optimization */ export interface AIAgentContext { agentId: string; sessionId: string; capabilities: string[]; preferences: Record; workflowState: Record; } export interface EnhancedResponse { success: boolean; data?: T; error?: string; metadata: { timestamp: string; operationId: string; duration: number; agentContext?: AIAgentContext; suggestions?: string[]; nextActions?: string[]; warnings?: string[]; }; analytics: { performanceMetrics: Record; resourceUsage: Record; qualityScore: number; }; } export interface PresentationMetadata { id: string; filePath: string; title: string; author: string; subject?: string; keywords?: string; comments?: string; company?: string; category?: string; manager?: string; createdAt: Date; modifiedAt: Date; slideCount: number; fileSize: number; version: string; isTemplate: boolean; hasAnimations: boolean; hasTransitions: boolean; hasMedia: boolean; hasComments: boolean; complexity: 'low' | 'medium' | 'high' | 'enterprise'; estimatedEditTime: number; contentSummary: { textElements: number; imageElements: number; chartElements: number; tableElements: number; shapeElements: number; smartArtElements: number; }; } export interface SlideMetadata { slideIndex: number; slideId: string; layoutName: string; masterName?: string; title?: string; contentType: string[]; elementCount: number; hasAnimations: boolean; hasTransitions: boolean; hasMedia: boolean; hasComments: boolean; complexity: 'simple' | 'moderate' | 'complex'; estimatedViewTime: number; accessibility: { hasAltText: boolean; colorContrast: 'good' | 'fair' | 'poor'; readabilityScore: number; }; } export interface BatchOperation { id: string; type: string; parameters: Record; dependencies?: string[]; priority: 'low' | 'normal' | 'high' | 'critical'; timeout?: number; retryPolicy?: { maxRetries: number; backoffStrategy: 'linear' | 'exponential'; retryDelay: number; }; } export interface BatchExecutionResult { operationId: string; totalOperations: number; completedOperations: number; failedOperations: number; skippedOperations: number; executionTime: number; results: Array<{ operationId: string; success: boolean; result?: any; error?: string; duration: number; }>; summary: { successRate: number; averageOperationTime: number; bottlenecks: string[]; recommendations: string[]; }; } export declare class PowerPointServiceEnhanced { private presentations; private metadata; private operationHistory; private performanceMetrics; private securityManager; private activeOperations; constructor(); private initializePerformanceTracking; private generateOperationId; private validateAndSanitize; private trackOperation; private updateAverageResponseTime; private getResourceUsage; private calculateQualityScore; private generateAISuggestions; private generateNextActions; private generateErrorRecoverySuggestions; createPresentationEnhanced(params: any, context?: AIAgentContext): Promise>; createSlideEnhanced(params: any, context?: AIAgentContext): Promise>; addContentEnhanced(params: any, context?: AIAgentContext): Promise>; private addTextContent; private addImageContent; private calculateReadabilityScore; private updateContentMetadata; executeBatchOperations(operations: BatchOperation[], context?: AIAgentContext): Promise>; private optimizeBatchExecution; private executeOperation; private identifyBottlenecks; private generateBatchRecommendations; getAnalytics(): Promise>; private getComplexityDistribution; private getAverageSlideCount; private getTotalElements; private getOperationHistory; private generateSystemRecommendations; savePresentationEnhanced(params: any, context?: AIAgentContext): Promise>; } //# sourceMappingURL=PowerPointServiceEnhanced.d.ts.map