In the DefinitelyTyped repo, why do some libraries' type definition files have exports while others don't? For example, the type definition file for the Facebook SDK lacks exports, but the type definition file for the Amazon Alexa SDK has exports.
I'm asking because the Facebook SDK is the first library I've encountered that lacked exports. I discovered this when I tried to import {AuthResponse} from 'facebook-js-sdk' and the compiler complained that .../node_modules/@types/facebook-js-sdk/index.d.ts' is not a module.
Is there some benefit to omitting exports from type definitions, thereby requiring that the entire SDK is imported (e.g. import 'facebook-js-sdk') instead of being able to import just a few types? Or is @types/facebook-js-sdk simply not written using the latest TypeScript best practices?
Also, does the "import everything" export-less style of type definitions have any downsides or problems associated with it that I should watch out for in my code that's importing it?
Finally, let's say someone accepted a PR to add exports to the Facebook SDK's typings. Would that be a breaking change for existing clients of that type definition? (If so that explains why this hasn't been fixed!)