/**
 * Shell Completion Command Handler
 *
 * Handle --shell-completion command for CCS.
 */
import { type CommandExecutionContract } from './command-execution-contract';
type ShellTarget = 'bash' | 'zsh' | 'fish' | 'powershell' | null;
interface ShellCompletionParsedArgs {
    targetShell: ShellTarget;
    force: boolean;
}
interface ShellCompletionInstallResult {
    success: boolean;
    alreadyInstalled?: boolean;
    message?: string;
    reload?: string;
}
interface ShellCompletionInstallerLike {
    install(shell: ShellTarget, options: {
        force: boolean;
    }): ShellCompletionInstallResult;
}
export declare function showShellCompletionHelp(writeLine?: (line: string) => void): void;
export declare function parseShellCompletionArgs(args: string[]): ShellCompletionParsedArgs;
export declare function createShellCompletionCommandContract(installer: ShellCompletionInstallerLike): CommandExecutionContract<ShellCompletionParsedArgs, ShellCompletionInstallResult>;
/**
 * Handle shell completion command
 */
export declare function handleShellCompletionCommand(args: string[]): Promise<void>;
export {};
//# sourceMappingURL=shell-completion-command.d.ts.map