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