export interface IPolymorphicRelationParams { typePropertyName: string; idPropertyName: string; } export declare const PolymorphicRelation: ({ typePropertyName, idPropertyName, }: IPolymorphicRelationParams) => (obj: any, propertyName: any) => void;