The .ts files will be compiled to AMD modules, so none of the declarations will be in the global scope.
E.g. -
define( [ 'jQuery' ], function ( $ ) { ... return { ... } } )
where the 1st elipses are all the private/setup code, and the second elipses are whatever methods/properties the module exports. (this dummy only wants jQuery, but the list can be longer)