Revert "Third missing declare"

This reverts commit d95278d3a2b7c635bc5d95cf01ab651a5d249448.
Revert "Second declare missing"

This reverts commit cb93e996224c4be2fd8e0deaf502728583d39ea7.
Revert "Added declare for typescript module"

This reverts commit 236f19bffa2683e46b280a1c3a894bbda3c8d2ef.