#96326Use ES11 import syntax for dynamic typescript imports
Description
ECMAScript 2020 (ES11) introduced dynamic imports.
TypeScript offers automatic type checking and resolution
for the dynamic import syntax (when using static strings)
and is able to transpile to require() calls in AMD output mode.
Therefore all occurences where require() is used
directly should be migrated to the import syntax.