import { Command } from 'commander'; import { type UpgradeScope } from '../lib/setup-telemetry.js'; /** Returns the version now installed, so the caller reports exactly what the user was told. */ export declare function runUpgrade(verbose?: boolean, scope?: UpgradeScope): string | null; /** `runUpgrade` plus its outcome telemetry, which must never change what the upgrade does. */ export declare function runUpgradeCommand(verbose?: boolean, scope?: UpgradeScope): Promise; export declare function registerUpgrade(program: Command): void;