import { Connection } from "../../DataStructures/Connection"; import { ConnectionTypeNode } from "./ConnectionTypeNode"; export declare class ConnectionTypeTree { static connectionTypeRoot: ConnectionTypeNode | null; static CreateCompositionKey(typeId: number): number; /** * This is a function to add the connectionNode to the existing tree * @param connectionOfNode This is the node that needs to be added to the tree. * @returns ConnectionOfNode */ static addNodeToTree(connectionOfNode: ConnectionTypeNode): Promise; /** * This function lets you add a connection by composite key with of the concept id and type id. * This function checks if the connection already exists and then updates in the case that it does not * If the connection of the concept id and type id combination is encountered first time then a node is created. * @param connection connection that needs to be added. */ static addConnectionToTree(connection: Connection): void; static GetConnectionByOfTheConceptAndTypeId(ofTheConceptId: number, typeId: number): any; }