/**
* Returns if a given node is a root object.
*
* Note that this function will throwif the passed objectisnot a node.
*
* @param node Target object.
* @returns trueif the objectis a root, false otherwise.
*/
export declarefunction isRoot(node: object): boolean;