import { type CheckConstraint, type EntityClass } from '@mikro-orm/core';
/** Defines a database check constraint on a property or entity class (legacy TypeScript decorator). */
export declare function Check<T>(
  options: CheckConstraint<T>,
): (target: T, propertyName?: T extends EntityClass<unknown> ? undefined : keyof T) => any;
