I would suggest you to modify your d.ts
generator setup and documentation generator to add
class SomeClass {
private constructor() {}
// ...
}
To all such classes, like the ones mentioned above and many others like TFile
.
In such way, you’ll explicitly make impossible to create instances of your class via API.