I wanted to import the Envio generic types (e.g. genericEvent) not from my auto-generated types but from the envio package (the goal is to make code reuse easier between different indexers).
I looked up this information in the docs but it looks like this feature is not documented:
But the feature exists β the envio package exports generic types, as I can see on npmjs.com.
The types can be imported like so:
import type { genericEvent } from "envio/src/Internal.gen";