/** * @class * Creates a tree by traversing the definitions where the parent model is the rootNode and child * model is one of it's children. */ export declare class PolymorphicTree { name: string; children: Map; /** * @constructor * Initializes a new instance of the PolymorphicTree * * @param {string} name- The name of the parent model * @param {Map} [children] - A map of zero or more children representing * the child models in the inheritance chain */ constructor(name: string, children?: Map); /** * Adds a childObject to the PolymorphicTree. This method will not add the child again if it is * already present. * * @param {PolymorphicTree} childObj- A polymorphicTree representing the child model. * @returns {PolymorphicTree} childObj - The created child node. */ addChildByObject(childObj: PolymorphicTree): PolymorphicTree; } //# sourceMappingURL=polymorphicTree.d.ts.map