TS treats all symbols in d.ts files as exported, whether they have an `export` keyword or not. PR Close #19301