I have put the question on StackOverflow [here](https://stackoverflow.com/questions/68921117/how-do-you-properly-declare-enum-type-in-a-definitelytyped-library) The question is around how to handle enums and [here](https://github.com/tom-schier/dt-enum-question) is a repo with instructions on how to reproduce