interface EnhancementChoice { id: string; category: 'scale' | 'timing' | 'animation' | 'background' | 'color'; current: string; options: EnhancementOption[]; impact: 'subtle' | 'moderate' | 'dramatic' | 'bold'; reasoning: string; } interface EnhancementOption { value: string; description: string; visualImpact: string; codeChange: string; preview?: string; } interface VideoAnalysis { scale: { titleSizes: number[]; containerWidths: number[]; scaleScore: number; }; timing: { transitions: Array<{ start: number; end: number; gap: number; }>; overlapIssues: number; energyScore: number; }; motion: { animationCount: number; continuousMotion: number; dynamismScore: number; }; background: { complexity: number; layerCount: number; richnessScore: number; }; } /** * Choice-Based Enhancement System - Main Class */ export declare class ChoiceBasedEnhancementSystem { /** * Analyze video and offer enhancement choices (not force changes) */ analyzeAndOfferChoices(jsx: string, projectName: string): Promise<{ analysis: VideoAnalysis; enhancementChoices: EnhancementChoice[]; criticalFixes: EnhancementChoice[]; optionalEnhancements: EnhancementChoice[]; }>; /** * Analyze current video state */ private analyzeCurrentVideo; /** * Generate enhancement choices based on analysis */ private generateEnhancementChoices; /** * Apply user's chosen enhancements to JSX */ applyChosenEnhancements(jsx: string, choices: Array<{ choiceId: string; selectedOption: string; }>): Promise<{ enhancedJSX: string; changesApplied: string[]; previewAvailable: boolean; }>; private extractFontSizes; private extractContainerSizes; private extractTransitions; private countAnimations; private countContinuousAnimations; private analyzeBackgroundComplexity; private countVisualLayers; private calculateScaleScore; private calculateEnergyScore; private calculateDynamismScore; private calculateRichnessScore; private applyTitleScaling; private applyContainerScaling; private applyTimingFixes; private addBackgroundArchetype; private applyAnimationStyle; private generateTechMinimalBackground; private generateCreativeBurstBackground; private generateGitHubCodeBackground; } /** * Main export for MCP integration */ export declare function analyzeAndOfferChoices(jsx: string, projectName: string): Promise<{ analysis: VideoAnalysis; enhancementChoices: EnhancementChoice[]; criticalFixes: EnhancementChoice[]; optionalEnhancements: EnhancementChoice[]; }>; export declare function applyUserChoices(jsx: string, choices: Array<{ choiceId: string; selectedOption: string; }>): Promise<{ enhancedJSX: string; changesApplied: string[]; previewAvailable: boolean; }>; export {}; //# sourceMappingURL=choice-based-enhancement.d.ts.map