Export TypeScript .d.ts files as an external module defintion