/** A version is a complete public + private layout transition, never one * companion. The coordinator supplies the exclusive gate and durable journal. */ export interface StorageMigration { id: string; from: number; to: number; title: string; /** Absent while a step is inspection-only; do not expose an execute button. */ execute?: (context: Context) => Promise; verify?: (context: Context) => Promise; } export declare function migrationPath(steps: readonly StorageMigration[], from: number, to: number): StorageMigration[]; /** The caller must hold its runtime write gate throughout. On any error stop: * reopen the persisted version/journal before retrying (including commit errors). * This runner does not guess whether a failed commit reached durable storage. */ export declare function runMigrationPath(steps: readonly StorageMigration[], from: number, to: number, context: Context, commitVersion: (expected: number, next: number, migrationId: string) => Promise): Promise; //# sourceMappingURL=registry.d.ts.map