import type { UpdateConfig, UpdateToVersion } from './updates'; import type { BaseAgent } from '../../agent/BaseAgent'; export declare class UpdateAssistant = BaseAgent> { private agent; private storageUpdateService; private updateConfig; private fileSystem; constructor(agent: Agent, updateConfig: UpdateConfig); initialize(): Promise; isUpToDate(updateToVersion?: UpdateToVersion): Promise; getCurrentAgentStorageVersion(): Promise; static get frameworkStorageVersion(): "0.4"; getNeededUpdates(toVersion?: UpdateToVersion): Promise<({ readonly fromVersion: "0.1"; readonly toVersion: "0.2"; readonly doUpdate: typeof import("./updates/0.1-0.2").updateV0_1ToV0_2; } | { readonly fromVersion: "0.2"; readonly toVersion: "0.3"; readonly doUpdate: typeof import("./updates/0.2-0.3").updateV0_2ToV0_3; } | { readonly fromVersion: "0.3"; readonly toVersion: "0.3.1"; readonly doUpdate: typeof import("./updates/0.3-0.3.1").updateV0_3ToV0_3_1; } | { readonly fromVersion: "0.3.1"; readonly toVersion: "0.4"; readonly doUpdate: typeof import("./updates/0.3.1-0.4").updateV0_3_1ToV0_4; })[]>; update(updateToVersion?: UpdateToVersion): Promise; private getBackupPath; private createBackup; private restoreBackup; }