import { ReferenceOptions } from './Property'; import { AnyEntity, EntityName } from '../typings'; export declare function ManyToOne(entity?: ManyToOneOptions | string | ((e?: any) => EntityName), options?: Partial>): (target: AnyEntity, propertyName: string) => any; export interface ManyToOneOptions extends ReferenceOptions { inversedBy?: (string & keyof T) | ((e: T) => any); wrappedReference?: boolean; primary?: boolean; joinColumn?: string; joinColumns?: string[]; onDelete?: 'cascade' | 'no action' | 'set null' | 'set default' | string; onUpdateIntegrity?: 'cascade' | 'no action' | 'set null' | 'set default' | string; }