I am working on the Typescript definition file for this project. I will post an update here when done.