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