/** * Fixed Presenton Service for MCP Server * Based on actual debugging results */ export interface PresentationRequest { prompt: string; n_slides?: number; language?: string; theme?: string; export_format?: 'pptx' | 'pdf'; documents?: string[]; } export interface PresentationResponse { success: boolean; presentation_id?: string; file_path?: string; edit_url?: string; error_message?: string; } export declare class PresentonService { private baseUrl; constructor(baseUrl?: string); /** * Generate a presentation from a prompt */ generatePresentation(prompt: string, outputPath: string, options?: { n_slides?: number; language?: string; theme?: string; documents?: string[]; export_format?: 'pptx' | 'pdf'; }): Promise; /** * Wait for presentation to be ready and then download it */ private waitForPresentationAndDownload; /** * Download a file from the Presenton server */ private downloadFile; /** * Check if the Presenton server is accessible */ healthCheck(): Promise; /** * Get server information */ getServerInfo(): Promise<{ status: string; base_url: string; api_accessible?: boolean; error?: string; }>; }