@invisiblecities/sidequest-cqo
Version:
Configuration-agnostic TypeScript and ESLint orchestrator with real-time watch mode, SQLite persistence, and intelligent terminal detection
60 lines • 1.54 kB
TypeScript
/**
* @fileoverview Interactive First-Run Setup
*
* Provides a friendly onboarding experience for new users to configure
* their preferences and understand best practices.
*/
export declare class InteractiveSetup {
private colors;
private prefs;
constructor(colors: any, dataDirectory?: string);
/**
* Check if user needs first-run setup
*/
needsSetup(): boolean;
/**
* Run interactive first-time setup
*/
runSetup(): void;
/**
* Ask about analysis mode preference
*/
private askAnalysisMode;
/**
* Ask about TypeScript/ESLint separation
*/
private askToolSeparation;
/**
* Ask about color scheme preference
*/
private askColorScheme;
/**
* Ask about verbose output preference
*/
private askVerboseOutput;
/**
* Ask about warnings and hints
*/
private askWarnings;
/**
* Apply user choices to preferences
*/
private applyChoices;
/**
* Show setup completion message
*/
private showSetupComplete;
/**
* Simulate user choice (in real implementation, use readline)
*/
private simulateUserChoice;
/**
* Check if this is a first run and should show setup
*
* Smart detection that checks:
* 1. User preferences exist and show setup completion
* 2. Database directory exists (indicates previous usage)
*/
static shouldRunSetup(dataDirectory?: string): boolean;
}
//# sourceMappingURL=interactive-setup.d.ts.map