import { OneToManyOptions } from './OneToMany'; import { EntityName } from '../typings'; export declare function OneToOne(entity?: OneToOneOptions | string | ((e?: any) => EntityName), mappedBy?: (string & keyof T) | ((e: T) => any), options?: Partial>): (target: import("../typings").AnyEntity, propertyName: string) => any; export interface OneToOneOptions extends Partial, 'orderBy'>> { owner?: boolean; inversedBy?: (string & keyof T) | ((e: T) => any); wrappedReference?: boolean; primary?: boolean; onDelete?: 'cascade' | 'no action' | 'set null' | 'set default' | string; onUpdateIntegrity?: 'cascade' | 'no action' | 'set null' | 'set default' | string; }