/** * Shell Autocomplete Generator * * Generates completion scripts for bash, zsh, and fish shells */ import { CommandLoader } from '../executor/command-loader.js'; import type { CommandAdapter } from './command-adapter.interface.js'; export type ShellType = 'bash' | 'fish' | 'zsh'; export declare class AutocompleteGenerator { private commandLoader; constructor(commandLoader?: CommandLoader); /** * Detect current shell */ detectShell(): null | ShellType; /** * Get all available commands */ private getCommands; /** * Generate bash completion script */ private generateBashCompletion; /** * Generate zsh completion script */ private generateZshCompletion; /** * Generate fish completion script */ private generateFishCompletion; /** * Generate completion script for shell */ generate(shell: ShellType): Promise; /** * Get installation path for shell */ private getInstallPath; /** * Install completion script */ install(shell?: ShellType): Promise; /** * Show post-installation instructions */ private showPostInstallInstructions; /** * Uninstall completion script */ uninstall(shell?: ShellType): Promise; /** * Check if completion is installed */ isInstalled(shell?: ShellType): Promise; /** * Show status of completion installation */ status(): Promise; } /** * Configure completion command */ export declare function configureCompletionCommand(program: CommandAdapter): void; //# sourceMappingURL=autocomplete.d.ts.map