/** * Thrown by `markAsApplied` when the version already has a tracking record * in a non-applied state (e.g. `failed`, `rolled_back`) and therefore * cannot be silently treated as an idempotent re-apply. Surfaces the * existing state so the caller can decide whether to retry, recover, or * roll back. */ export declare class MigrationAlreadyAppliedError extends Error { readonly version: string; readonly currentStatus: string | undefined; constructor(version: string, currentStatus: string | undefined); } /** * Thrown when a tracker write is cancelled because the migration lock was * taken by another process between `acquireLock()` and the write itself * (e.g. the original lock TTL expired and a second worker took over). * * The transaction was rolled back atomically — no partial state was * written. The safe action is to stop the current `up()` / `down()` run. */ export declare class MigrationLockLostError extends Error { readonly version: string; constructor(version: string); } //# sourceMappingURL=errors.d.ts.map