import { type SessionCheckpoint } from "#execution/session/handoff.js"; /** * Oldest checkpoint a successor upgrades (eve 0.66.0). Earlier checkpoints * predate the sandbox provider and dynamic skill manifest contracts and lack * data the current reader requires. */ export declare const MIN_SESSION_CHECKPOINT_VERSION = 8; export type SessionCheckpointMigration = { readonly kind: "current"; readonly checkpoint: SessionCheckpoint; /** Idle child sessions the current build no longer tracks; the successor stops them. */ readonly childRunIdsToStop: readonly string[]; } | { readonly kind: "incompatible"; readonly detail: string; }; /** * Upgrades a checkpoint written by an older eve build to the current shape. * Pure, so the session workflow can run it before validation. Newer * checkpoints and those older than {@link MIN_SESSION_CHECKPOINT_VERSION} are * incompatible. */ export declare function migrateSessionCheckpoint(checkpoint: unknown): SessionCheckpointMigration;