/**
 * Update prompt module for CLI auto-update
 *
 * Handles formatting the update message and resolving the correct
 * update command based on the package manager.
 */
export type UpdateChoice = "update" | "skip" | "dismiss";
export type UpdateCommand = {
    command: string;
    args: Array<string>;
    displayCommand: string;
};
/**
 * Get the correct update command for the detected package manager.
 *
 * @param args - Arguments
 * @param args.installSource - The detected package manager (npm, bun, yarn, pnpm, unknown)
 *
 * @returns UpdateCommand object or null if package manager is unknown
 */
export declare const getUpdateCommand: (args: {
    installSource: string;
}) => UpdateCommand | null;
/**
 * Show the interactive update prompt and return the user's choice.
 *
 * @param args - Arguments
 * @param args.currentVersion - The current version
 * @param args.latestVersion - The latest available version
 * @param args.isInteractive - Whether we're in interactive mode
 *
 * @returns The user's update choice
 */
export declare const showUpdatePrompt: (args: {
    currentVersion: string;
    latestVersion: string;
    isInteractive: boolean;
}) => Promise<UpdateChoice>;
//# sourceMappingURL=updatePrompt.d.ts.map