import type { Command } from 'commander';
export interface UpgradeOptions {
    yes?: boolean;
}
export type UpgradeAction = (version: string | undefined, options: UpgradeOptions) => Promise<void>;
/** Register the public self-upgrade surface; the entry point supplies its runtime action. */
export declare function registerUpgradeCommand(program: Command, action?: UpgradeAction): Command;
