Typescript definition file for snap js