UNPKG

@simonecoelhosfo/optimizely-mcp-server

Version:

Optimizely MCP Server for AI assistants with integrated CLI tools

91 lines 2.12 kB
interface ProgressUpdate { phase: string; current: number; total: number; message: string; percent: number; } export declare class StaticProgressReporter { private totalSteps; private currentStep; private currentProject; private lastProgressLine; private startedEntities; private completedEntities; private lastEntityCounts; private lastEntityMessages; private spinnerFrames; private spinnerIndex; private spinnerInterval; private eventDrivenMode; constructor(); /** * Start sync operation */ startSync(operation: string, options: any): void; /** * Set total steps */ setTotalSteps(projectCount: number, entitiesPerProject: number, totalSteps?: number): void; /** * Update progress for a specific phase */ updateProgress(progress: ProgressUpdate & { entityData?: { entity: string; count?: number; countType?: string; isOngoing?: boolean; }; }): void; /** * Update the static progress bar in place */ private updateProgressBar; /** * Update only the spinner character without redrawing entire progress bar */ private updateSpinnerOnly; /** * Clear the progress bar to write other content */ private clearProgressBar; /** * Complete sync operation */ completeSync(result: any): void; /** * Report error */ error(error: Error): void; /** * Handle progress events from the event emitter */ private handleProgressEvent; /** * Clean up */ dispose(): void; /** * Track entity started */ private entityStarted; /** * Mark entity as started */ private markEntityStarted; /** * Mark entity as completed */ private markEntityCompleted; /** * Start the spinner animation */ private startSpinner; /** * Stop the spinner animation */ private stopSpinner; } export {}; //# sourceMappingURL=StaticProgressReporter.d.ts.map