/** * Main handler for the `upgrade` subcommand. Parses arguments and executes the appropriate upgrade logic. * @param args - Arguments after 'upgrade' (e.g., ['--check', '--force']). * @returns Exit code (0 for success, 1 for error). */ export declare function handleUpgradeCommand(args: string[]): Promise;