/** * Shell Installer - Auto-install shell integration * @requirement REQ-FIX-006 - Shell auto-install */ /** * Detected shell type */ export type ShellType = 'bash' | 'zsh' | 'fish' | 'powershell' | 'cmd' | 'unknown'; /** * Installation result */ export interface InstallResult { success: boolean; shellType: ShellType; profilePath?: string; backupPath?: string; message: string; } /** * Shell Installer * Automatically installs shell integration (prompt, aliases, completion) * @requirement REQ-FIX-006 - Auto-detect and install */ export declare class ShellInstaller { private homeDir; constructor(); /** * Detect current shell * @requirement REQ-FIX-006 - Shell detection */ detectShell(): ShellType; /** * Get shell profile path * @requirement REQ-FIX-006 - Profile file location */ getProfilePath(shellType: ShellType): string; /** * Generate shell integration code * @requirement REQ-FIX-006 - Integration code generation */ generateIntegrationCode(shellType: ShellType): string; /** * Install shell integration * @requirement REQ-FIX-006 - Auto-install to shell profile */ install(options?: { force?: boolean; }): Promise; /** * Uninstall shell integration * @requirement REQ-FIX-006 - Uninstall command */ uninstall(): Promise; /** * Check if shell integration is installed * @requirement REQ-FIX-006 - Installation check */ isInstalled(shellType?: ShellType): Promise; /** * Create backup of shell profile * @requirement REQ-FIX-006 - Backup before changes */ private backup; /** * Get installation status */ status(): Promise<{ shellType: ShellType; profilePath: string; installed: boolean; }>; }