diff --git a/kits/@kit.CoreFileKit.d.ts b/kits/@kit.CoreFileKit.d.ts index da5144379c1b209c096033b60602e185c1a5de74..5d94583f0702dc5ecf49b3ee49ecdabb46bb4ba9 100644 --- a/kits/@kit.CoreFileKit.d.ts +++ b/kits/@kit.CoreFileKit.d.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022-2023 Huawei Device Co., Ltd. + * Copyright (c) 2022-2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -67,12 +67,15 @@ import { import hash from '@ohos.file.hash'; import securityLabel from '@ohos.file.securityLabel'; import statfs from '@ohos.file.statvfs'; +import storageStatistics from '@ohos.file.storageStatistics'; +import volumeManager from '@ohos.file.volumeManager'; +import keyManager from '@ohos.file.keyManager'; import fileShare from '@ohos.fileshare'; export { BackupExtensionAbility, BundleVersion, ConflictFiles, Environment, Filter, Options, ReaderIteratorResult, WatchEvent, WatchEventListener, Watcher, ReadOptions, ReadTextOptions, WriteOptions, ListFileOptions, - cloudSync, cloudSyncManager, fileIo, fileShare, fileUri, hash, securityLabel, statfs, DfsListeners, - TaskSignal + cloudSync, cloudSyncManager, fileIo, fileShare, fileUri, hash, securityLabel, statfs, + storageStatistics, volumeManager, keyManager, DfsListeners, TaskSignal }; -/*** endif */ \ No newline at end of file +/*** endif */ diff --git a/kits/@kit.DistributedServiceKit.d.ts b/kits/@kit.DistributedServiceKit.d.ts index 27b463c5a2f681d6fdbf9b84ebfaaa310884ac62..627d8003e98d690ee671c5bd33307c0c5eaa9f44 100644 --- a/kits/@kit.DistributedServiceKit.d.ts +++ b/kits/@kit.DistributedServiceKit.d.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022-2023 Huawei Device Co., Ltd. + * Copyright (c) 2022-2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -18,6 +18,7 @@ * @kit DistributedServiceKit */ +/*** if arkts 1.1 */ import cooperate from '@ohos.cooperate'; import distributedDeviceManager from '@ohos.distributedDeviceManager'; import deviceManager from '@ohos.distributedHardware.deviceManager'; @@ -32,3 +33,12 @@ export { cooperate, deviceManager, distributedDeviceManager, hardwareManager, abilityConnectionManager, linkEnhance, DistributedExtensionAbility, DistributedExtensionContext, proxyChannelManager }; +/*** endif */ + +/*** if arkts 1.2 */ +import distributedDeviceManager from '@ohos.distributedDeviceManager'; + +export { + distributedDeviceManager +}; +/*** endif */