Type libraries can reference other type libraries (e.g. function parameters can be types from other libraries).
For example, the type library for Outlook references the type library for Office. At the moment, creating a .d file for Outlook and trying to compile will fail because it doesn't know about the Office types.
com.reflect has a getReferences() function that tlbimpd uses to add 'importlib' comments to the output .d file, but it would be useful if an actual reference could be added.
Could possibly look at adding the ability to generate code for imported libraries automatically as well.