/// /// /// /// /// import Model = NajsEloquent.Model.IModel; import ModelDefinition = NajsEloquent.Model.ModelDefinition; import IMorphOneRelationship = NajsEloquent.Relation.IMorphOneRelationship; import { HasOneOrMany } from './HasOneOrMany'; import { MorphOneOrManyExecutor } from './executors/MorphOneOrManyExecutor'; export declare class MorphOne extends HasOneOrMany implements IMorphOneRelationship { 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(model: T): void; }