Summary
TypeScript 6.0 will deprecate the module-keyword for namespaces sometime around Q4 2025.
api-extractor can aid the migration to the preferred namespace syntax by always emitting the modern syntax in the generated DTS. This auto-upgrade is something TypeScript, SWC, and Oxc already do.
Details
I tried out the latest api-extractor 7.52.10 and found that it does not perform this conversion today.