endIndex was missing for CommonJS
The XMLMetaData interface in src/fxp.d.ts had an endIndex field, the position where an XML node ends in the input, but lib/fxp.d.cts did not. CommonJS code that read endIndex got a type error.
The same field in both declarations
We added endIndex to lib/fxp.d.cts with the same type and doc comment as in src/fxp.d.ts, so both variants of the package describe node metadata the same way.