wasm_runtime_get_file_package_type() is the counterpart of get_file_package_type(). See discussion in #3595.