import { type ManyToOneOptions, type EntityName } from '@mikro-orm/core';
/** Defines a many-to-one relationship (legacy TypeScript decorator). */
export declare function ManyToOne<Target extends object, Owner extends object>(
  entity: (e?: any) => EntityName<Target> | EntityName[],
  options?: Partial<ManyToOneOptions<Owner, Target>>,
): (target: Owner, propertyName: string) => void;
export declare function ManyToOne<Target extends object, Owner extends object>(entity: string, options?: any): never;
export declare function ManyToOne<Target extends object, Owner extends object>(
  options?: ManyToOneOptions<Owner, Target>,
): (target: Owner, propertyName: string) => void;
