Added typescript definitions for trunk8