import { type ManyToOneOptions, type EntityName, type Ref } from '@mikro-orm/core';
/** Defines a many-to-one relationship (TC39 decorator). */
export declare function ManyToOne<Target extends object, Owner extends object>(
  entity?: ManyToOneOptions<Owner, Target> | ((e?: Owner) => EntityName<Target> | EntityName[]),
  options?: Partial<ManyToOneOptions<Owner, Target>>,
): (_: unknown, context: ClassFieldDecoratorContext<Owner, Target | undefined | null | Ref<Target>>) => void;
