Trying to use Texture in a typescript component

I am trying to use a Texture in a typescript component and when I import @cesium/engine Texture is not exported. Is there a reason for this? Can I access Texture in another way?

Having the same issue here

Hi @BakedPotatoLord and @Peter_Furness,

I think this is the same (or very similar) typing issue discussed in #46522. Linking it here for completeness since @BakedPotatoLord opened that thread and Travis already posted a helpful explanation there.

For now, the practical workaround is to bypass typing with any, for example:

const Texture = (Cesium as any).Texture;

If possible, prefer higher-level APIs like CustomShader or Primitive, since those are part of the public API and have TypeScript typings.