The types in the wasm package should be improved an cleaned up. An `index.d.ts` can be created at the package root, it can be added to package.json as `"types": "index.d.ts"`. This type index should export all types, the ones for wasm_exec, the CLI and the current index.js