I develop the driver
The `parseIndexOptions` has a significant amount of tech debt requiring lots of `any` usage and doesn't have effective narrowing of the various indexSpec shapes possible (e.g, tuple, array of tuples, etc.). It also collects an unused keys property.
It's a quick to clean up and help the next person understand what it is trying to do. It's also missing support for top-level tuple arguments: index(['name', 1])