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