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