:internal: use scoped enums to export the node type to code that uses the library