Gets a namespace declaration or top-level whose exports contribute directly to this namespace.
This includes containers that don’t actually contain any
export statements, but whose
exports would contribute to this namespace, if there were any.
Does not include containers whose exports only contribute indirectly, through re-exports. That is, there is at most one namespace associated with a given container.
Namespaces defined by enum declarations have no exporting containers.