interface_sdk-js/kits/@kit.BasicServicesKit.d.ts
xiekaiming ed1d09f44c :修改configPolicy的kit为BasicServicesKit
Signed-off-by: xiekaiming <xiekaiming2@huawei.com>
2024-03-25 14:41:44 +08:00

82 lines
4.0 KiB
TypeScript

/*
* Copyright (c) 2022-2023 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file
* @kit BasicServicesKit
*/
import appAccount from '@ohos.account.appAccount';
import configPolicy from '@ohos.configPolicy';
import distributedAccount from '@ohos.account.distributedAccount';
import osAccount from '@ohos.account.osAccount';
import PrintExtensionAbility from '@ohos.app.ability.PrintExtensionAbility';
import { AsyncCallback, BusinessError, Callback, ErrorCallback } from '@ohos.base';
import batteryInfo from '@ohos.batteryInfo';
import batteryStats from '@ohos.batteryStatistics';
import brightness from '@ohos.brightness';
import charger from '@ohos.charger';
import deviceAttest from '@ohos.deviceAttest';
import deviceInfo from '@ohos.deviceInfo';
import pasteboard from '@ohos.pasteboard';
import power from '@ohos.power';
import print from '@ohos.print';
import request from '@ohos.request';
import runningLock from '@ohos.runningLock';
import screenLock from '@ohos.screenLock';
import settings from '@ohos.settings';
import systemCapability from '@ohos.systemCapability';
import systemDateTime from '@ohos.systemDateTime';
import systemParameter from '@ohos.systemparameter';
import systemParameterEnhance from '@ohos.systemParameterEnhance';
import systemTime from '@ohos.systemTime';
import systemTimer from '@ohos.systemTimer';
import thermal from '@ohos.thermal';
import update from '@ohos.update';
import usb from '@ohos.usb';
import usbManager from '@ohos.usbManager';
import wallpaper from '@ohos.wallpaper';
import WallpaperExtensionAbility from '@ohos.WallpaperExtensionAbility';
import zlib from '@ohos.zlib';
import commonEventManager from '@ohos.commonEventManager';
import emitter from '@ohos.events.emitter';
import StaticSubscriberExtensionAbility from '@ohos.application.StaticSubscriberExtensionAbility';
import StaticSubscriberExtensionContext from '@ohos.application.StaticSubscriberExtensionContext';
import Battery, { BatteryResponse, GetStatusOptions } from '@system.battery';
import Brightness, {
BrightnessModeResponse, BrightnessResponse, GetBrightnessModeOptions, GetBrightnessOptions,
SetBrightnessModeOptions, SetBrightnessOptions, SetKeepScreenOnOptions
} from '@system.brightness';
import Device, { DeviceResponse, GetDeviceOptions } from '@system.device';
import Request, {
DownloadRequestOptions, DownloadResponse, OnDownloadCompleteOptions,
OnDownloadCompleteResponse, RequestData, RequestFile, UploadRequestOptions, UploadResponse
} from '@system.request';
import systemLoad from '@ohos.resourceschedule.systemload';
export {
AsyncCallback, Battery, BatteryResponse, Brightness, BrightnessModeResponse,
BrightnessResponse, BusinessError, Callback, Device, DeviceResponse,
DownloadRequestOptions, DownloadResponse, ErrorCallback, GetBrightnessModeOptions,
GetBrightnessOptions, GetDeviceOptions, GetStatusOptions, OnDownloadCompleteOptions,
OnDownloadCompleteResponse, PrintExtensionAbility, Request, RequestData, RequestFile,
SetBrightnessModeOptions, SetBrightnessOptions, SetKeepScreenOnOptions, UploadRequestOptions,
UploadResponse, WallpaperExtensionAbility, appAccount, batteryInfo, batteryStats, brightness, charger, configPolicy,
deviceAttest, deviceInfo, distributedAccount, osAccount, pasteboard, power, print, request, runningLock,
screenLock, settings, systemCapability, systemDateTime, systemParameter, systemParameterEnhance, systemTime,
systemTimer, thermal, update, usb, usbManager, wallpaper, zlib, commonEventManager, emitter, StaticSubscriberExtensionAbility,
StaticSubscriberExtensionContext, systemLoad
};