Import resolver connects imports with available exported values.
Resolves an import a WebAssembly module to an export it's hooked up to.
index provided is the index of the import in the wasm module
that's being resolved. For example 1 means that it's the second import
listed in the wasm module.
field arguments provided are the module/field names
listed on the import itself.
The index is useful because some WebAssembly modules may rely on that for resolving ambiguity in their imports. Such as:
(module (import "" "" (func)) (import "" "" (func (param i32) (result i32))) )