Work in progress. These docs describe Spawnite at launch, and some parts are still being built.
Register
Where a game registers its levels, once, so each level’s id is typed
as one of them:
declare module "@spawnite/engine" { interface Register { levels: typeof Track } }.
Its hitData types the data each hit carries, as HitData says.