export type UpgradeStatus = 'idle' | 'upgrading' | 'restarting' | 'upgraded' | 'up-to-date' | 'error';
export interface CliUpgradeState {
    status: UpgradeStatus;
    output: string;
    errorMessage?: string;
}
export interface CliUpgradeActions {
    startUpgrade: () => void;
}
export declare function useCliUpgrade(): CliUpgradeState & CliUpgradeActions;
//# sourceMappingURL=use-cli-upgrade.d.ts.map