import { PropertyAst, PropertyContext } from 'ims-decorator'; import { ObjectType, RelationOptions } from 'typeorm'; export interface ManyToOne { typeFunction: (type?: any) => ObjectType; inverseSide: string | ((object: T) => any); options?: RelationOptions; } export declare const ManyToOneMetadataKey = "ManyToOneMetadataKey"; export declare const ManyToOne: (typeFunction: (type?: any) => ObjectType, inverseSide: string | ((object: T) => any), options?: RelationOptions) => (target: any, propertyKey?: string | symbol, descriptor?: number | TypedPropertyDescriptor) => any; export declare function isManyToOnePropertyAst(val: PropertyAst): val is PropertyAst; export declare class ManyToOneAst extends PropertyContext { }