text: //// [tests/cases/compiler/syntheticDefaultExportsWithDynamicImports.ts] ////
  
  //// [index.d.ts]
  declare function packageExport(x: number): string;
  export = packageExport;
  
  //// [index.ts]
  import("package").then(({default: foo}) => foo(42));
  
  //// [index.js]
  System.register([], function (exports_1, context_1) {
      var __moduleName = context_1 && context_1.id;
      return {
          setters: [],
          execute: function () {
              context_1.import("package").then(({ default: foo }) => foo(42));
          }
      };
  });
  