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