/* eslint-disable */ /* prettier-ignore */ /* auto-generated by NAPI-RS */ const __nodeFs= require('node:fs') const __nodePath = require('node:path') const { WASI: __nodeWASI } = require('node:wasi') const { Worker } = require('node:worker_threads') const { instantiateNapiModuleSync: __emnapiInstantiateNapiModuleSync, getDefaultContext: __emnapiGetDefaultContext, } = require('@napi-rs/wasm-runtime') const __wasi = new __nodeWASI({ version: 'preview1', env: process.env, preopens: { '/': '/' } }) const __emnapiContext = __emnapiGetDefaultContext() const __sharedMemory = new WebAssembly.Memory({ initial: 1024, maximum: 10240, shared: true, }) let __wasmFilePath = __nodePath.join(__dirname, 'index.wasm') if (!__nodeFs.existsSync(__wasmFilePath)) { try { __wasmFilePath = __nodePath.resolve('@examples/napi-wasm32-wasi') } catch { throw new Error('Cannot find index.wasm file, and @examples/napi-wasm32-wasi package is not installed.') } } const { instance: __napiInstance, module: __wasiModule, napiModule: __napiModule } = __emnapiInstantiateNapiModuleSync(__nodeFs.readFileSync(__wasmFilePath), { context: __emnapiContext, asyncWorkPoolSize: (function() { const threadsSizeFromEnv = Number(process.env.NAPI_RS_ASYNC_WORK_POOL_SIZE ?? process.env.UV_THREADPOOL_SIZE) // NaN > 0 is false if (threadsSizeFromEnv > 0) { return threadsSizeFromEnv } else { return 4 } })(), wasi: __wasi, onCreateWorker() { return new Worker(__nodePath.join(__dirname, 'wasi-worker.mjs'), { env: process.env, execArgv: ['--experimental-wasi-unstable-preview1'], }) }, overwriteImports(importObject) { importObject.env = { ...importObject.env, ...importObject.napi, ...importObject.emnapi, memory: __sharedMemory, } return importObject }, beforeInit({ instance }) { __napi_rs_initialize_modules(instance) } }) function __napi_rs_initialize_modules(__napiInstance) { __napiInstance.exports['__napi_register__Shared_struct_0']?.() __napiInstance.exports['__napi_register__DEFAULT_COST_0']?.() __napiInstance.exports['__napi_register__TYPE_SKIPPED_CONST_1']?.() __napiInstance.exports['__napi_register__get_words_2']?.() __napiInstance.exports['__napi_register__get_nums_3']?.() __napiInstance.exports['__napi_register__sum_nums_4']?.() __napiInstance.exports['__napi_register__to_js_obj_5']?.() __napiInstance.exports['__napi_register__get_num_arr_6']?.() __napiInstance.exports['__napi_register__get_nested_num_arr_7']?.() __napiInstance.exports['__napi_register__read_file_async_8']?.() __napiInstance.exports['__napi_register__async_multi_two_9']?.() __napiInstance.exports['__napi_register__bigint_add_10']?.() __napiInstance.exports['__napi_register__create_big_int_11']?.() __napiInstance.exports['__napi_register__create_big_int_i64_12']?.() __napiInstance.exports['__napi_register__bigint_get_u64_as_string_13']?.() __napiInstance.exports['__napi_register__bigint_from_i64_14']?.() __napiInstance.exports['__napi_register__bigint_from_i128_15']?.() __napiInstance.exports['__napi_register__get_cwd_16']?.() __napiInstance.exports['__napi_register__option_end_17']?.() __napiInstance.exports['__napi_register__option_start_18']?.() __napiInstance.exports['__napi_register__option_start_end_19']?.() __napiInstance.exports['__napi_register__option_only_20']?.() __napiInstance.exports['__napi_register__read_file_21']?.() __napiInstance.exports['__napi_register__return_js_function_22']?.() __napiInstance.exports['__napi_register__callback_return_promise_23']?.() __napiInstance.exports['__napi_register__callback_return_promise_and_spawn_24']?.() __napiInstance.exports['__napi_register__capture_error_in_callback_25']?.() __napiInstance.exports['__napi_register__Animal_struct_26']?.() __napiInstance.exports['__napi_register__Animal_impl_38']?.() __napiInstance.exports['__napi_register__Dog_struct_39']?.() __napiInstance.exports['__napi_register__Bird_struct_40']?.() __napiInstance.exports['__napi_register__Bird_impl_44']?.() __napiInstance.exports['__napi_register__Blake2bHasher_struct_45']?.() __napiInstance.exports['__napi_register__Blake2bHasher_impl_47']?.() __napiInstance.exports['__napi_register__Blake2bHasher_impl_49']?.() __napiInstance.exports['__napi_register__Blake2bKey_struct_50']?.() __napiInstance.exports['__napi_register__Context_struct_51']?.() __napiInstance.exports['__napi_register__Context_impl_56']?.() __napiInstance.exports['__napi_register__AnimalWithDefaultConstructor_struct_57']?.() __napiInstance.exports['__napi_register__NinjaTurtle_struct_58']?.() __napiInstance.exports['__napi_register__NinjaTurtle_impl_65']?.() __napiInstance.exports['__napi_register__JsAssets_struct_66']?.() __napiInstance.exports['__napi_register__JsAssets_impl_69']?.() __napiInstance.exports['__napi_register__JsAsset_struct_70']?.() __napiInstance.exports['__napi_register__JsAsset_impl_73']?.() __napiInstance.exports['__napi_register__Optional_struct_74']?.() __napiInstance.exports['__napi_register__Optional_impl_79']?.() __napiInstance.exports['__napi_register__ObjectFieldClassInstance_struct_80']?.() __napiInstance.exports['__napi_register__create_object_with_class_field_81']?.() __napiInstance.exports['__napi_register__receive_object_with_class_field_82']?.() __napiInstance.exports['__napi_register__NotWritableClass_struct_83']?.() __napiInstance.exports['__napi_register__NotWritableClass_impl_85']?.() __napiInstance.exports['__napi_register__CustomFinalize_struct_86']?.() __napiInstance.exports['__napi_register__CustomFinalize_impl_88']?.() __napiInstance.exports['__napi_register__Width_struct_89']?.() __napiInstance.exports['__napi_register__plus_one_90']?.() __napiInstance.exports['__napi_register__GetterSetterWithClosures_struct_91']?.() __napiInstance.exports['__napi_register__GetterSetterWithClosures_impl_93']?.() __napiInstance.exports['__napi_register__CatchOnConstructor_struct_94']?.() __napiInstance.exports['__napi_register__CatchOnConstructor_impl_96']?.() __napiInstance.exports['__napi_register__CatchOnConstructor2_struct_97']?.() __napiInstance.exports['__napi_register__CatchOnConstructor2_impl_99']?.() __napiInstance.exports['__napi_register__ClassWithFactory_struct_100']?.() __napiInstance.exports['__napi_register__ClassWithFactory_impl_105']?.() __napiInstance.exports['__napi_register__Selector_struct_106']?.() __napiInstance.exports['__napi_register__date_to_number_107']?.() __napiInstance.exports['__napi_register__chrono_date_to_millis_108']?.() __napiInstance.exports['__napi_register__chrono_date_add_1_minute_109']?.() __napiInstance.exports['__napi_register__Dates_struct_110']?.() __napiInstance.exports['__napi_register__chrono_native_date_time_111']?.() __napiInstance.exports['__napi_register__chrono_native_date_time_return_112']?.() __napiInstance.exports['__napi_register__either_string_or_number_113']?.() __napiInstance.exports['__napi_register__return_either_114']?.() __napiInstance.exports['__napi_register__either3_115']?.() __napiInstance.exports['__napi_register__Obj_struct_116']?.() __napiInstance.exports['__napi_register__either4_117']?.() __napiInstance.exports['__napi_register__JsClassForEither_struct_118']?.() __napiInstance.exports['__napi_register__JsClassForEither_impl_120']?.() __napiInstance.exports['__napi_register__AnotherClassForEither_struct_121']?.() __napiInstance.exports['__napi_register__AnotherClassForEither_impl_123']?.() __napiInstance.exports['__napi_register__receive_class_or_number_124']?.() __napiInstance.exports['__napi_register__receive_mut_class_or_number_125']?.() __napiInstance.exports['__napi_register__receive_different_class_126']?.() __napiInstance.exports['__napi_register__return_either_class_127']?.() __napiInstance.exports['__napi_register__either_from_option_128']?.() __napiInstance.exports['__napi_register__A_struct_129']?.() __napiInstance.exports['__napi_register__B_struct_130']?.() __napiInstance.exports['__napi_register__C_struct_131']?.() __napiInstance.exports['__napi_register__either_from_objects_132']?.() __napiInstance.exports['__napi_register__either_bool_or_function_133']?.() __napiInstance.exports['__napi_register__promise_in_either_134']?.() __napiInstance.exports['__napi_register__Kind_135']?.() __napiInstance.exports['__napi_register__Empty_136']?.() __napiInstance.exports['__napi_register__Status_137']?.() __napiInstance.exports['__napi_register__CustomNumEnum_138']?.() __napiInstance.exports['__napi_register__enum_to_i32_139']?.() __napiInstance.exports['__napi_register__SkippedEnums_140']?.() __napiInstance.exports['__napi_register__run_script_141']?.() __napiInstance.exports['__napi_register__get_module_file_name_142']?.() __napiInstance.exports['__napi_register__throw_syntax_error_143']?.() __napiInstance.exports['__napi_register__throw_error_144']?.() __napiInstance.exports['__napi_register__panic_145']?.() __napiInstance.exports['__napi_register__receive_string_146']?.() __napiInstance.exports['__napi_register__custom_status_code_147']?.() __napiInstance.exports['__napi_register__throw_async_error_148']?.() __napiInstance.exports['__napi_register__create_external_149']?.() __napiInstance.exports['__napi_register__create_external_string_150']?.() __napiInstance.exports['__napi_register__get_external_151']?.() __napiInstance.exports['__napi_register__mutate_external_152']?.() __napiInstance.exports['__napi_register__validate_array_153']?.() __napiInstance.exports['__napi_register__validate_buffer_154']?.() __napiInstance.exports['__napi_register__validate_typed_array_155']?.() __napiInstance.exports['__napi_register__validate_bigint_156']?.() __napiInstance.exports['__napi_register__validate_boolean_157']?.() __napiInstance.exports['__napi_register__validate_date_158']?.() __napiInstance.exports['__napi_register__validate_date_time_159']?.() __napiInstance.exports['__napi_register__validate_external_160']?.() __napiInstance.exports['__napi_register__validate_function_161']?.() __napiInstance.exports['__napi_register__validate_hash_map_162']?.() __napiInstance.exports['__napi_register__validate_null_163']?.() __napiInstance.exports['__napi_register__validate_undefined_164']?.() __napiInstance.exports['__napi_register__validate_number_165']?.() __napiInstance.exports['__napi_register__validate_promise_166']?.() __napiInstance.exports['__napi_register__validate_string_167']?.() __napiInstance.exports['__napi_register__validate_symbol_168']?.() __napiInstance.exports['__napi_register__validate_optional_169']?.() __napiInstance.exports['__napi_register__return_undefined_if_invalid_170']?.() __napiInstance.exports['__napi_register__return_undefined_if_invalid_promise_171']?.() __napiInstance.exports['__napi_register__ts_rename_172']?.() __napiInstance.exports['__napi_register__override_individual_arg_on_function_173']?.() __napiInstance.exports['__napi_register__override_individual_arg_on_function_with_cb_arg_174']?.() __napiInstance.exports['__napi_register__call0_175']?.() __napiInstance.exports['__napi_register__call1_176']?.() __napiInstance.exports['__napi_register__call2_177']?.() __napiInstance.exports['__napi_register__apply0_178']?.() __napiInstance.exports['__napi_register__apply1_179']?.() __napiInstance.exports['__napi_register__call_function_180']?.() __napiInstance.exports['__napi_register__call_function_with_arg_181']?.() __napiInstance.exports['__napi_register__create_reference_on_function_182']?.() __napiInstance.exports['__napi_register__call_function_with_arg_and_ctx_183']?.() __napiInstance.exports['__napi_register__reference_as_callback_184']?.() __napiInstance.exports['__napi_register__Fib_struct_185']?.() __napiInstance.exports['__napi_register__Fib_impl_186']?.() __napiInstance.exports['__napi_register__Fib_impl_188']?.() __napiInstance.exports['__napi_register__Fib2_struct_189']?.() __napiInstance.exports['__napi_register__Fib2_impl_190']?.() __napiInstance.exports['__napi_register__Fib2_impl_192']?.() __napiInstance.exports['__napi_register__Fib3_struct_193']?.() __napiInstance.exports['__napi_register__Fib3_impl_194']?.() __napiInstance.exports['__napi_register__ALIGNMENT_195']?.() __napiInstance.exports['__napi_register__xxh64_196']?.() __napiInstance.exports['__napi_register__xxh128_197']?.() __napiInstance.exports['__napi_register__Xxh3_struct_198']?.() __napiInstance.exports['__napi_register__Xxh3_impl_202']?.() __napiInstance.exports['__napi_register__xxh2_plus_203']?.() __napiInstance.exports['__napi_register__xxh3_xxh64_alias_204']?.() __napiInstance.exports['__napi_register__xxh64_alias_205']?.() __napiInstance.exports['__napi_register__get_mapping_206']?.() __napiInstance.exports['__napi_register__sum_mapping_207']?.() __napiInstance.exports['__napi_register__map_option_208']?.() __napiInstance.exports['__napi_register__return_null_209']?.() __napiInstance.exports['__napi_register__return_undefined_210']?.() __napiInstance.exports['__napi_register__add_211']?.() __napiInstance.exports['__napi_register__fibonacci_212']?.() __napiInstance.exports['__napi_register__list_obj_keys_213']?.() __napiInstance.exports['__napi_register__create_obj_214']?.() __napiInstance.exports['__napi_register__get_global_215']?.() __napiInstance.exports['__napi_register__get_undefined_216']?.() __napiInstance.exports['__napi_register__get_null_217']?.() __napiInstance.exports['__napi_register__AllOptionalObject_struct_218']?.() __napiInstance.exports['__napi_register__receive_all_optional_object_219']?.() __napiInstance.exports['__napi_register__AliasedEnum_220']?.() __napiInstance.exports['__napi_register__StructContainsAliasedEnum_struct_221']?.() __napiInstance.exports['__napi_register__fn_received_aliased_222']?.() __napiInstance.exports['__napi_register__StrictObject_struct_223']?.() __napiInstance.exports['__napi_register__receive_strict_object_224']?.() __napiInstance.exports['__napi_register__get_str_from_object_225']?.() __napiInstance.exports['__napi_register__TsTypeChanged_struct_226']?.() __napiInstance.exports['__napi_register__create_obj_with_property_227']?.() __napiInstance.exports['__napi_register__getter_from_obj_228']?.() __napiInstance.exports['__napi_register__ObjectOnlyFromJs_struct_229']?.() __napiInstance.exports['__napi_register__receive_object_only_from_js_230']?.() __napiInstance.exports['__napi_register__async_plus_100_231']?.() __napiInstance.exports['__napi_register__JsRepo_struct_232']?.() __napiInstance.exports['__napi_register__JsRepo_impl_235']?.() __napiInstance.exports['__napi_register__JsRemote_struct_236']?.() __napiInstance.exports['__napi_register__JsRemote_impl_238']?.() __napiInstance.exports['__napi_register__CSSRuleList_struct_239']?.() __napiInstance.exports['__napi_register__CSSRuleList_impl_243']?.() __napiInstance.exports['__napi_register__CSSStyleSheet_struct_244']?.() __napiInstance.exports['__napi_register__AnotherCSSStyleSheet_struct_245']?.() __napiInstance.exports['__napi_register__AnotherCSSStyleSheet_impl_247']?.() __napiInstance.exports['__napi_register__CSSStyleSheet_impl_251']?.() __napiInstance.exports['__napi_register__PackageJson_struct_252']?.() __napiInstance.exports['__napi_register__read_package_json_253']?.() __napiInstance.exports['__napi_register__get_package_json_name_254']?.() __napiInstance.exports['__napi_register__test_serde_roundtrip_255']?.() __napiInstance.exports['__napi_register__test_serde_big_number_precision_256']?.() __napiInstance.exports['__napi_register__return_from_shared_crate_257']?.() __napiInstance.exports['__napi_register__contains_258']?.() __napiInstance.exports['__napi_register__concat_str_259']?.() __napiInstance.exports['__napi_register__concat_utf16_260']?.() __napiInstance.exports['__napi_register__concat_latin1_261']?.() __napiInstance.exports['__napi_register__roundtrip_str_262']?.() __napiInstance.exports['__napi_register__set_symbol_in_obj_263']?.() __napiInstance.exports['__napi_register__create_symbol_264']?.() __napiInstance.exports['__napi_register__create_symbol_for_265']?.() __napiInstance.exports['__napi_register__DelaySum_impl_266']?.() __napiInstance.exports['__napi_register__without_abort_controller_267']?.() __napiInstance.exports['__napi_register__with_abort_controller_268']?.() __napiInstance.exports['__napi_register__AsyncTaskVoidReturn_impl_269']?.() __napiInstance.exports['__napi_register__async_task_void_return_270']?.() __napiInstance.exports['__napi_register__AsyncTaskOptionalReturn_impl_271']?.() __napiInstance.exports['__napi_register__async_task_optional_return_272']?.() __napiInstance.exports['__napi_register__call_threadsafe_function_273']?.() __napiInstance.exports['__napi_register__call_long_threadsafe_function_274']?.() __napiInstance.exports['__napi_register__threadsafe_function_throw_error_275']?.() __napiInstance.exports['__napi_register__threadsafe_function_fatal_mode_276']?.() __napiInstance.exports['__napi_register__threadsafe_function_fatal_mode_error_277']?.() __napiInstance.exports['__napi_register__threadsafe_function_closure_capture_278']?.() __napiInstance.exports['__napi_register__tsfn_call_with_callback_279']?.() __napiInstance.exports['__napi_register__tsfn_async_call_280']?.() __napiInstance.exports['__napi_register__accept_threadsafe_function_281']?.() __napiInstance.exports['__napi_register__accept_threadsafe_function_fatal_282']?.() __napiInstance.exports['__napi_register__accept_threadsafe_function_tuple_args_283']?.() __napiInstance.exports['__napi_register__tsfn_return_promise_284']?.() __napiInstance.exports['__napi_register__tsfn_return_promise_timeout_285']?.() __napiInstance.exports['__napi_register__tsfn_throw_from_js_286']?.() __napiInstance.exports['__napi_register__get_buffer_287']?.() __napiInstance.exports['__napi_register__append_buffer_288']?.() __napiInstance.exports['__napi_register__get_empty_buffer_289']?.() __napiInstance.exports['__napi_register__convert_u32_array_290']?.() __napiInstance.exports['__napi_register__create_external_typed_array_291']?.() __napiInstance.exports['__napi_register__mutate_typed_array_292']?.() __napiInstance.exports['__napi_register__deref_uint8_array_293']?.() __napiInstance.exports['__napi_register__buffer_pass_through_294']?.() __napiInstance.exports['__napi_register__array_buffer_pass_through_295']?.() __napiInstance.exports['__napi_register__AsyncBuffer_impl_296']?.() __napiInstance.exports['__napi_register__async_reduce_buffer_297']?.() } module.exports.Animal = __napiModule.exports.Animal module.exports.AnimalWithDefaultConstructor = __napiModule.exports.AnimalWithDefaultConstructor module.exports.AnotherClassForEither = __napiModule.exports.AnotherClassForEither module.exports.AnotherCssStyleSheet = __napiModule.exports.AnotherCssStyleSheet module.exports.AnotherCSSStyleSheet = __napiModule.exports.AnotherCSSStyleSheet module.exports.Asset = __napiModule.exports.Asset module.exports.JsAsset = __napiModule.exports.JsAsset module.exports.Assets = __napiModule.exports.Assets module.exports.JsAssets = __napiModule.exports.JsAssets module.exports.Bird = __napiModule.exports.Bird module.exports.Blake2BHasher = __napiModule.exports.Blake2BHasher module.exports.Blake2bHasher = __napiModule.exports.Blake2bHasher module.exports.Blake2BKey = __napiModule.exports.Blake2BKey module.exports.Blake2bKey = __napiModule.exports.Blake2bKey module.exports.CatchOnConstructor = __napiModule.exports.CatchOnConstructor module.exports.CatchOnConstructor2 = __napiModule.exports.CatchOnConstructor2 module.exports.ClassWithFactory = __napiModule.exports.ClassWithFactory module.exports.Context = __napiModule.exports.Context module.exports.CssRuleList = __napiModule.exports.CssRuleList module.exports.CSSRuleList = __napiModule.exports.CSSRuleList module.exports.CssStyleSheet = __napiModule.exports.CssStyleSheet module.exports.CSSStyleSheet = __napiModule.exports.CSSStyleSheet module.exports.CustomFinalize = __napiModule.exports.CustomFinalize module.exports.Dog = __napiModule.exports.Dog module.exports.Fib = __napiModule.exports.Fib module.exports.Fib2 = __napiModule.exports.Fib2 module.exports.Fib3 = __napiModule.exports.Fib3 module.exports.GetterSetterWithClosures = __napiModule.exports.GetterSetterWithClosures module.exports.JsClassForEither = __napiModule.exports.JsClassForEither module.exports.JsRemote = __napiModule.exports.JsRemote module.exports.JsRepo = __napiModule.exports.JsRepo module.exports.NinjaTurtle = __napiModule.exports.NinjaTurtle module.exports.NotWritableClass = __napiModule.exports.NotWritableClass module.exports.Optional = __napiModule.exports.Optional module.exports.Selector = __napiModule.exports.Selector module.exports.Width = __napiModule.exports.Width module.exports.acceptThreadsafeFunction = __napiModule.exports.acceptThreadsafeFunction module.exports.acceptThreadsafeFunctionFatal = __napiModule.exports.acceptThreadsafeFunctionFatal module.exports.acceptThreadsafeFunctionTupleArgs = __napiModule.exports.acceptThreadsafeFunctionTupleArgs module.exports.add = __napiModule.exports.add module.exports.ALIAS = __napiModule.exports.ALIAS module.exports.AliasedEnum = __napiModule.exports.AliasedEnum module.exports.appendBuffer = __napiModule.exports.appendBuffer module.exports.apply0 = __napiModule.exports.apply0 module.exports.apply1 = __napiModule.exports.apply1 module.exports.arrayBufferPassThrough = __napiModule.exports.arrayBufferPassThrough module.exports.asyncMultiTwo = __napiModule.exports.asyncMultiTwo module.exports.asyncPlus100 = __napiModule.exports.asyncPlus100 module.exports.asyncReduceBuffer = __napiModule.exports.asyncReduceBuffer module.exports.asyncTaskOptionalReturn = __napiModule.exports.asyncTaskOptionalReturn module.exports.asyncTaskVoidReturn = __napiModule.exports.asyncTaskVoidReturn module.exports.bigintAdd = __napiModule.exports.bigintAdd module.exports.bigintFromI128 = __napiModule.exports.bigintFromI128 module.exports.bigintFromI64 = __napiModule.exports.bigintFromI64 module.exports.bigintGetU64AsString = __napiModule.exports.bigintGetU64AsString module.exports.bufferPassThrough = __napiModule.exports.bufferPassThrough module.exports.call0 = __napiModule.exports.call0 module.exports.call1 = __napiModule.exports.call1 module.exports.call2 = __napiModule.exports.call2 module.exports.callbackReturnPromise = __napiModule.exports.callbackReturnPromise module.exports.callbackReturnPromiseAndSpawn = __napiModule.exports.callbackReturnPromiseAndSpawn module.exports.callFunction = __napiModule.exports.callFunction module.exports.callFunctionWithArg = __napiModule.exports.callFunctionWithArg module.exports.callFunctionWithArgAndCtx = __napiModule.exports.callFunctionWithArgAndCtx module.exports.callLongThreadsafeFunction = __napiModule.exports.callLongThreadsafeFunction module.exports.callThreadsafeFunction = __napiModule.exports.callThreadsafeFunction module.exports.captureErrorInCallback = __napiModule.exports.captureErrorInCallback module.exports.chronoDateAdd1Minute = __napiModule.exports.chronoDateAdd1Minute module.exports.chronoDateToMillis = __napiModule.exports.chronoDateToMillis module.exports.chronoNativeDateTime = __napiModule.exports.chronoNativeDateTime module.exports.chronoNativeDateTimeReturn = __napiModule.exports.chronoNativeDateTimeReturn module.exports.concatLatin1 = __napiModule.exports.concatLatin1 module.exports.concatStr = __napiModule.exports.concatStr module.exports.concatUtf16 = __napiModule.exports.concatUtf16 module.exports.contains = __napiModule.exports.contains module.exports.convertU32Array = __napiModule.exports.convertU32Array module.exports.createBigInt = __napiModule.exports.createBigInt module.exports.createBigIntI64 = __napiModule.exports.createBigIntI64 module.exports.createExternal = __napiModule.exports.createExternal module.exports.createExternalString = __napiModule.exports.createExternalString module.exports.createExternalTypedArray = __napiModule.exports.createExternalTypedArray module.exports.createObj = __napiModule.exports.createObj module.exports.createObjectWithClassField = __napiModule.exports.createObjectWithClassField module.exports.createObjWithProperty = __napiModule.exports.createObjWithProperty module.exports.createReferenceOnFunction = __napiModule.exports.createReferenceOnFunction module.exports.createSymbol = __napiModule.exports.createSymbol module.exports.createSymbolFor = __napiModule.exports.createSymbolFor module.exports.CustomNumEnum = __napiModule.exports.CustomNumEnum module.exports.customStatusCode = __napiModule.exports.customStatusCode module.exports.dateToNumber = __napiModule.exports.dateToNumber module.exports.DEFAULT_COST = __napiModule.exports.DEFAULT_COST module.exports.derefUint8Array = __napiModule.exports.derefUint8Array module.exports.either3 = __napiModule.exports.either3 module.exports.either4 = __napiModule.exports.either4 module.exports.eitherBoolOrFunction = __napiModule.exports.eitherBoolOrFunction module.exports.eitherFromObjects = __napiModule.exports.eitherFromObjects module.exports.eitherFromOption = __napiModule.exports.eitherFromOption module.exports.eitherStringOrNumber = __napiModule.exports.eitherStringOrNumber module.exports.Empty = __napiModule.exports.Empty module.exports.enumToI32 = __napiModule.exports.enumToI32 module.exports.fibonacci = __napiModule.exports.fibonacci module.exports.fnReceivedAliased = __napiModule.exports.fnReceivedAliased module.exports.getBuffer = __napiModule.exports.getBuffer module.exports.getCwd = __napiModule.exports.getCwd module.exports.getEmptyBuffer = __napiModule.exports.getEmptyBuffer module.exports.getExternal = __napiModule.exports.getExternal module.exports.getGlobal = __napiModule.exports.getGlobal module.exports.getMapping = __napiModule.exports.getMapping module.exports.getModuleFileName = __napiModule.exports.getModuleFileName module.exports.getNestedNumArr = __napiModule.exports.getNestedNumArr module.exports.getNull = __napiModule.exports.getNull module.exports.getNumArr = __napiModule.exports.getNumArr module.exports.getNums = __napiModule.exports.getNums module.exports.getPackageJsonName = __napiModule.exports.getPackageJsonName module.exports.getStrFromObject = __napiModule.exports.getStrFromObject module.exports.getterFromObj = __napiModule.exports.getterFromObj module.exports.getUndefined = __napiModule.exports.getUndefined module.exports.getWords = __napiModule.exports.getWords module.exports.Kind = __napiModule.exports.Kind module.exports.listObjKeys = __napiModule.exports.listObjKeys module.exports.mapOption = __napiModule.exports.mapOption module.exports.mutateExternal = __napiModule.exports.mutateExternal module.exports.mutateTypedArray = __napiModule.exports.mutateTypedArray module.exports.optionEnd = __napiModule.exports.optionEnd module.exports.optionOnly = __napiModule.exports.optionOnly module.exports.optionStart = __napiModule.exports.optionStart module.exports.optionStartEnd = __napiModule.exports.optionStartEnd module.exports.overrideIndividualArgOnFunction = __napiModule.exports.overrideIndividualArgOnFunction module.exports.overrideIndividualArgOnFunctionWithCbArg = __napiModule.exports.overrideIndividualArgOnFunctionWithCbArg module.exports.panic = __napiModule.exports.panic module.exports.plusOne = __napiModule.exports.plusOne module.exports.promiseInEither = __napiModule.exports.promiseInEither module.exports.readFile = __napiModule.exports.readFile module.exports.readFileAsync = __napiModule.exports.readFileAsync module.exports.readPackageJson = __napiModule.exports.readPackageJson module.exports.receiveAllOptionalObject = __napiModule.exports.receiveAllOptionalObject module.exports.receiveClassOrNumber = __napiModule.exports.receiveClassOrNumber module.exports.receiveDifferentClass = __napiModule.exports.receiveDifferentClass module.exports.receiveMutClassOrNumber = __napiModule.exports.receiveMutClassOrNumber module.exports.receiveObjectOnlyFromJs = __napiModule.exports.receiveObjectOnlyFromJs module.exports.receiveObjectWithClassField = __napiModule.exports.receiveObjectWithClassField module.exports.receiveStrictObject = __napiModule.exports.receiveStrictObject module.exports.receiveString = __napiModule.exports.receiveString module.exports.referenceAsCallback = __napiModule.exports.referenceAsCallback module.exports.returnEither = __napiModule.exports.returnEither module.exports.returnEitherClass = __napiModule.exports.returnEitherClass module.exports.returnFromSharedCrate = __napiModule.exports.returnFromSharedCrate module.exports.returnJsFunction = __napiModule.exports.returnJsFunction module.exports.returnNull = __napiModule.exports.returnNull module.exports.returnUndefined = __napiModule.exports.returnUndefined module.exports.returnUndefinedIfInvalid = __napiModule.exports.returnUndefinedIfInvalid module.exports.returnUndefinedIfInvalidPromise = __napiModule.exports.returnUndefinedIfInvalidPromise module.exports.roundtripStr = __napiModule.exports.roundtripStr module.exports.runScript = __napiModule.exports.runScript module.exports.setSymbolInObj = __napiModule.exports.setSymbolInObj module.exports.Status = __napiModule.exports.Status module.exports.sumMapping = __napiModule.exports.sumMapping module.exports.sumNums = __napiModule.exports.sumNums module.exports.testSerdeBigNumberPrecision = __napiModule.exports.testSerdeBigNumberPrecision module.exports.testSerdeRoundtrip = __napiModule.exports.testSerdeRoundtrip module.exports.threadsafeFunctionClosureCapture = __napiModule.exports.threadsafeFunctionClosureCapture module.exports.threadsafeFunctionFatalMode = __napiModule.exports.threadsafeFunctionFatalMode module.exports.threadsafeFunctionFatalModeError = __napiModule.exports.threadsafeFunctionFatalModeError module.exports.threadsafeFunctionThrowError = __napiModule.exports.threadsafeFunctionThrowError module.exports.throwAsyncError = __napiModule.exports.throwAsyncError module.exports.throwError = __napiModule.exports.throwError module.exports.throwSyntaxError = __napiModule.exports.throwSyntaxError module.exports.toJsObj = __napiModule.exports.toJsObj module.exports.tsfnAsyncCall = __napiModule.exports.tsfnAsyncCall module.exports.tsfnCallWithCallback = __napiModule.exports.tsfnCallWithCallback module.exports.tsfnReturnPromise = __napiModule.exports.tsfnReturnPromise module.exports.tsfnReturnPromiseTimeout = __napiModule.exports.tsfnReturnPromiseTimeout module.exports.tsfnThrowFromJs = __napiModule.exports.tsfnThrowFromJs module.exports.tsRename = __napiModule.exports.tsRename module.exports.validateArray = __napiModule.exports.validateArray module.exports.validateBigint = __napiModule.exports.validateBigint module.exports.validateBoolean = __napiModule.exports.validateBoolean module.exports.validateBuffer = __napiModule.exports.validateBuffer module.exports.validateDate = __napiModule.exports.validateDate module.exports.validateDateTime = __napiModule.exports.validateDateTime module.exports.validateExternal = __napiModule.exports.validateExternal module.exports.validateFunction = __napiModule.exports.validateFunction module.exports.validateHashMap = __napiModule.exports.validateHashMap module.exports.validateNull = __napiModule.exports.validateNull module.exports.validateNumber = __napiModule.exports.validateNumber module.exports.validateOptional = __napiModule.exports.validateOptional module.exports.validatePromise = __napiModule.exports.validatePromise module.exports.validateString = __napiModule.exports.validateString module.exports.validateSymbol = __napiModule.exports.validateSymbol module.exports.validateTypedArray = __napiModule.exports.validateTypedArray module.exports.validateUndefined = __napiModule.exports.validateUndefined module.exports.withAbortController = __napiModule.exports.withAbortController module.exports.withoutAbortController = __napiModule.exports.withoutAbortController module.exports.xxh64Alias = __napiModule.exports.xxh64Alias module.exports.xxh2 = __napiModule.exports.xxh2 module.exports.xxh3 = __napiModule.exports.xxh3