These new interfaces have been reworked (compared to the original API) to emit (mostly) proper TypeScript types.