I have no idea where you are coming from unfortunately.
Generally speaking, a Javascript user has access to the same type script language features (including hints, auto-completion,...) as a typescript user.
Even the most primitive text editor supports language server protocol nowadays.
The library your interoperating with does not even have to be written in typescript if the author provided @typedef JSDocs.
const enums break this because no value of this type exists