import { BaseError } from './base-error'; interface OptimisticLockErrorOptions { message?: string; /** The name of the model on which the update was attempted */ modelName?: string; /** The values of the attempted update */ values?: Record; where?: Record; } /** * Thrown when attempting to update a stale model instance */ export declare class OptimisticLockError extends BaseError { modelName: string | undefined; values: Record | undefined; where: Record | undefined; constructor(options?: OptimisticLockErrorOptions, errorOptions?: ErrorOptions); } export {}; //# sourceMappingURL=optimistic-lock-error.d.ts.map