@vladimirdukelic/revolutionary-ui-factory
Version:
Revolutionary UI Factory System v2 - Generate ANY UI component for ANY framework with 60-95% code reduction
81 lines (80 loc) • 2.06 kB
TypeScript
/**
* Revolutionary UI Factory - Interactive Setup Wizard
* Guides users through package selection and configuration
*/
import { ProjectAnalysis } from './project-detector';
import { AnalysisReport } from './project-analyzer';
import { AIAnalysisResult } from './ai-analyzer';
export interface WizardOptions {
interactive: boolean;
autoInstall: boolean;
updateExisting: boolean;
packageManager: 'npm' | 'yarn' | 'pnpm' | 'bun';
}
export interface SelectionResult {
frameworks: string[];
uiLibraries: string[];
iconLibraries: string[];
designTools: string[];
colorTools: string[];
fonts: string[];
utilities: string[];
devTools: string[];
}
export interface WizardResult {
selections: SelectionResult;
installCommands: string[];
configFiles: ConfigFile[];
nextSteps: string[];
}
export interface ConfigFile {
filename: string;
content: string;
description: string;
}
export declare class SetupWizard {
private analysis;
private report;
private options;
private aiResults;
constructor(analysis: ProjectAnalysis, report: AnalysisReport, options: Partial<WizardOptions>, aiResults: AIAnalysisResult | null);
/**
* Run the interactive setup wizard
*/
run(): Promise<WizardResult>;
/**
* Print welcome message
*/
private printWelcome;
/**
* Print analysis summary
*/
private printAnalysisSummary;
/**
* Interactive package selection
*/
private interactiveSelection;
/**
* Automatic package selection based on recommendations
*/
private automaticSelection;
/**
* Browse additional packages
*/
private browsePackages;
/**
* Generate install commands
*/
private generateInstallCommands;
/**
* Generate configuration files
*/
private generateConfigFiles;
/**
* Generate next steps
*/
private generateNextSteps;
private categorizePackages;
private getPackagesByCategory;
private getInstalledPackages;
}