1/* 2 * Copyright (c) 2025 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16// [Start napi_get_value_uint32_api] 17export const getValueUint32: <T>(data: T) => number | void; // napi_get_value_uint32 18// [End napi_get_value_uint32_api] 19 20// [Start napi_get_value_int32_api] 21export const getValueInt32: (value: number | string) => number | void; // napi_get_value_int32 22// [End napi_get_value_int32_api] 23 24// [Start napi_get_value_int64_api] 25export const getValueInt64: (value: number | string) => number | void; // napi_get_value_int64 26// [End napi_get_value_int64_api] 27 28// [Start napi_get_value_double_api] 29export const getDouble: (value: number | string) => number | void; // napi_get_value_double 30// [End napi_get_value_double_api] 31 32// [Start napi_create_int32_api] 33export const createInt32: () => number; // napi_create_int32 34// [End napi_create_int32_api] 35 36// [Start napi_create_uint32_api] 37export const createUInt32: () => number; // napi_create_uint32 38// [End napi_create_uint32_api] 39 40// [Start napi_create_int64_api] 41export const createInt64: () => number; // napi_create_int64 42// [End napi_create_int64_api] 43 44// [Start napi_create_double_api] 45export const createDouble: () => number; // napi_create_double 46// [End napi_create_double_api]