/**
 * Install Command UI Messages
 *
 * Message templates for the tool installation flow.
 * Provides consistent formatting for confirmation prompts,
 * progress indicators, and result messages.
 */
import { colors, fmt, messages } from './index.js';
/** Messages for the install command */
export const installMessages = {
    /** Display tool already available message */
    alreadyInstalled(toolName) {
        messages.success(`${toolName} is already installed`);
    },
    /** Display installation success */
    installSuccess(toolName) {
        messages.success(`${toolName} installed successfully`);
    },
    /** Display installation failure */
    installFailed(toolName, errorMessage) {
        messages.error(`Failed to install ${toolName}: ${errorMessage}`, new Error(errorMessage));
    },
    /** Display unknown tool error */
    unknownTool(toolName, availableTools) {
        messages.error(`Unknown tool: "${toolName}". Available: ${availableTools.join(', ')}`, new Error(`Unknown tool: ${toolName}`));
    },
    /** Display checking availability message */
    checkingAvailability(toolName) {
        console.log(colors.muted(`Checking if ${toolName} is available...`));
    },
    /** Display starting installation message */
    startingInstall(toolName) {
        console.log(fmt.heading(`Installing ${toolName}`));
        console.log();
    },
};
