/// /// /// /// /// /// import Model = NajsEloquent.Model.IModel; import ModelDefinition = NajsEloquent.Model.ModelDefinition; import IMorphManyRelationship = NajsEloquent.Relation.IMorphManyRelationship; import Collection = CollectJs.Collection; import { HasOneOrMany } from './HasOneOrMany'; import { MorphOneOrManyExecutor } from './executors/MorphOneOrManyExecutor'; export declare class MorphMany extends HasOneOrMany> implements IMorphManyRelationship { static className: string; protected targetMorphTypeName: string; protected executor: MorphOneOrManyExecutor>; constructor(root: Model, relationName: string, target: ModelDefinition, targetType: string, targetKey: string, rootKey: string); getClassName(): string; getType(): string; getExecutor(): MorphOneOrManyExecutor>; associate(...models: Array>): this; dissociate(...models: Array>): this; }