When using the `arcgis/core` library, how do you gain access to all of the interface types (that aren't explicitly classes)? For example: `EditResult` or `SpatialReferenceProperties`, etc.
In previous versions, Esri recommended doing:
import Esri = __esri;
const result:Esri.EditsResult = await layer.applyEdits(...);
However, since the latest JS version Esri has recommended against doing this and instead recommends pulling the types via ESM modules:
import type WebMap from "@arcgis/core/WebMap.js";
However, that doesn't work for interfaces/types that aren't defined as classes.
How should we gain access to all of the ArcGIS JS API types (interfaces/types/etc.) in "@arcgis/core" library?