1/* 2 * Copyright (c) 2024-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 16export const getBundleName: () => string; 17 18export const getCacheDir: () => string; 19 20export const getAreaMode: () => number; 21 22export const getTempDir: () => string; 23 24export const getFilesDir: () => string; 25 26export const getPreferencesDir: () => string; 27 28export const getBundleCodeDir: () => string; 29 30export const getDistributedFilesDir: () => string; 31 32export const getCloudFileDir: () => string; 33 34export const getDatabaseDir: () => string; 35 36export const testGetBundleName: (bundleName: string) => number; 37 38export const testGetCacheDir: (cacheDir: string) => number; 39 40export const testGetAreaMode: (areaMode: number) => number; 41 42export const testGetTempDir: (tempDir: string) => number[]; 43 44export const testGetFilesDir: (filesDir: string) => number[]; 45 46export const testGetPreferencesDir: (preferencesDir: string) => number[]; 47 48export const testGetBundleCodeDir: (bundleCodeDir: string) => number[]; 49 50export const testGetDistributedFilesDir: (distributedFilesDir: string) => number[]; 51 52export const testGetCloudFileDir: (cloudFileDir: string) => number[]; 53 54export const testGetDatabaseDir: (databaseDir: string) => number[]; 55