import { BaseAgent } from "../../agent/BaseAgent.mjs";
import { VersionString } from "../../utils/version.mjs";
import { updateV0_3_1ToV0_4 } from "./updates/0.3.1-0.4/index.mjs";
import { updateV0_3ToV0_3_1 } from "./updates/0.3-0.3.1/index.mjs";
import { updateV0_4ToV0_5 } from "./updates/0.4-0.5/index.mjs";
import { UpdateConfig, UpdateToVersion } from "./updates.mjs";
import "../../index.mjs";
//#region src/storage/migration/UpdateAssistant.d.ts
export interface UpdateAssistantUpdateOptions {
  updateToVersion?: UpdateToVersion;
}
export declare class UpdateAssistant<Agent extends BaseAgent<any> = BaseAgent> {
  private agent;
  private storageUpdateService;
  private updateConfig;
  constructor(agent: Agent, updateConfig?: UpdateConfig);
  initialize(): Promise<void>;
  isUpToDate(updateToVersion?: UpdateToVersion): Promise<boolean>;
  getCurrentAgentStorageVersion(): Promise<VersionString>;
  static get frameworkStorageVersion(): "0.5";
  getNeededUpdates(toVersion?: UpdateToVersion): Promise<({
    readonly fromVersion: "0.1";
    readonly toVersion: "0.2";
    readonly doUpdate: () => void;
  } | {
    readonly fromVersion: "0.2";
    readonly toVersion: "0.3";
    readonly doUpdate: () => void;
  } | {
    readonly fromVersion: "0.3";
    readonly toVersion: "0.3.1";
    readonly doUpdate: typeof updateV0_3ToV0_3_1;
  } | {
    readonly fromVersion: "0.3.1";
    readonly toVersion: "0.4";
    readonly doUpdate: typeof updateV0_3_1ToV0_4;
  } | {
    readonly fromVersion: "0.4";
    readonly toVersion: "0.5";
    readonly doUpdate: typeof updateV0_4ToV0_5;
  })[]>;
  update(options?: UpdateAssistantUpdateOptions): Promise<string | undefined>;
}
//#endregion
//# sourceMappingURL=UpdateAssistant.d.mts.map