1 | import { DeviceInfoModule } from './internal/privateTypes';
|
2 | import type { AsyncHookResult, DeviceType, LocationProviderInfo, PowerState } from './internal/types';
|
3 | export declare const getUniqueId: import("./internal/privateTypes").Getter<Promise<string>>, getUniqueIdSync: import("./internal/privateTypes").Getter<string>;
|
4 | export declare function syncUniqueId(): Promise<string>;
|
5 | export declare const getInstanceId: import("./internal/privateTypes").Getter<Promise<string>>, getInstanceIdSync: import("./internal/privateTypes").Getter<string>;
|
6 | export declare const getSerialNumber: import("./internal/privateTypes").Getter<Promise<string>>, getSerialNumberSync: import("./internal/privateTypes").Getter<string>;
|
7 | export declare const getAndroidId: import("./internal/privateTypes").Getter<Promise<string>>, getAndroidIdSync: import("./internal/privateTypes").Getter<string>;
|
8 | export declare const getIpAddress: import("./internal/privateTypes").Getter<Promise<string>>, getIpAddressSync: import("./internal/privateTypes").Getter<string>;
|
9 | export declare const isCameraPresent: import("./internal/privateTypes").Getter<Promise<boolean>>, isCameraPresentSync: import("./internal/privateTypes").Getter<boolean>;
|
10 | export declare function getMacAddress(): Promise<string>;
|
11 | export declare function getMacAddressSync(): string;
|
12 | export declare const getDeviceId: () => string;
|
13 | export declare const getManufacturer: import("./internal/privateTypes").Getter<Promise<string>>, getManufacturerSync: import("./internal/privateTypes").Getter<string>;
|
14 | export declare const getModel: () => string;
|
15 | export declare const getBrand: () => string;
|
16 | export declare const getSystemName: () => string;
|
17 | export declare const getSystemVersion: () => string;
|
18 | export declare const getBuildId: import("./internal/privateTypes").Getter<Promise<string>>, getBuildIdSync: import("./internal/privateTypes").Getter<string>;
|
19 | export declare const getApiLevel: import("./internal/privateTypes").Getter<Promise<number>>, getApiLevelSync: import("./internal/privateTypes").Getter<number>;
|
20 | export declare const getBundleId: () => string;
|
21 | export declare const getInstallerPackageName: import("./internal/privateTypes").Getter<Promise<string>>, getInstallerPackageNameSync: import("./internal/privateTypes").Getter<string>;
|
22 | export declare const getApplicationName: () => string;
|
23 | export declare const getBuildNumber: () => string;
|
24 | export declare const getVersion: () => string;
|
25 | export declare function getReadableVersion(): string;
|
26 | export declare const getDeviceName: import("./internal/privateTypes").Getter<Promise<string>>, getDeviceNameSync: import("./internal/privateTypes").Getter<string>;
|
27 | export declare const getUsedMemory: import("./internal/privateTypes").Getter<Promise<number>>, getUsedMemorySync: import("./internal/privateTypes").Getter<number>;
|
28 | export declare const getUserAgent: () => Promise<string>;
|
29 | export declare const getUserAgentSync: () => string;
|
30 | export declare const getFontScale: import("./internal/privateTypes").Getter<Promise<number>>, getFontScaleSync: import("./internal/privateTypes").Getter<number>;
|
31 | export declare const getBootloader: import("./internal/privateTypes").Getter<Promise<string>>, getBootloaderSync: import("./internal/privateTypes").Getter<string>;
|
32 | export declare const getDevice: import("./internal/privateTypes").Getter<Promise<string>>, getDeviceSync: import("./internal/privateTypes").Getter<string>;
|
33 | export declare const getDisplay: import("./internal/privateTypes").Getter<Promise<string>>, getDisplaySync: import("./internal/privateTypes").Getter<string>;
|
34 | export declare const getFingerprint: import("./internal/privateTypes").Getter<Promise<string>>, getFingerprintSync: import("./internal/privateTypes").Getter<string>;
|
35 | export declare const getHardware: import("./internal/privateTypes").Getter<Promise<string>>, getHardwareSync: import("./internal/privateTypes").Getter<string>;
|
36 | export declare const getHost: import("./internal/privateTypes").Getter<Promise<string>>, getHostSync: import("./internal/privateTypes").Getter<string>;
|
37 | export declare const getHostNames: import("./internal/privateTypes").Getter<Promise<string[]>>, getHostNamesSync: import("./internal/privateTypes").Getter<string[]>;
|
38 | export declare const getProduct: import("./internal/privateTypes").Getter<Promise<string>>, getProductSync: import("./internal/privateTypes").Getter<string>;
|
39 | export declare const getTags: import("./internal/privateTypes").Getter<Promise<string>>, getTagsSync: import("./internal/privateTypes").Getter<string>;
|
40 | export declare const getType: import("./internal/privateTypes").Getter<Promise<string>>, getTypeSync: import("./internal/privateTypes").Getter<string>;
|
41 | export declare const getBaseOs: import("./internal/privateTypes").Getter<Promise<string>>, getBaseOsSync: import("./internal/privateTypes").Getter<string>;
|
42 | export declare const getPreviewSdkInt: import("./internal/privateTypes").Getter<Promise<number>>, getPreviewSdkIntSync: import("./internal/privateTypes").Getter<number>;
|
43 | export declare const getSecurityPatch: import("./internal/privateTypes").Getter<Promise<string>>, getSecurityPatchSync: import("./internal/privateTypes").Getter<string>;
|
44 | export declare const getCodename: import("./internal/privateTypes").Getter<Promise<string>>, getCodenameSync: import("./internal/privateTypes").Getter<string>;
|
45 | export declare const getIncremental: import("./internal/privateTypes").Getter<Promise<string>>, getIncrementalSync: import("./internal/privateTypes").Getter<string>;
|
46 | export declare const isEmulator: import("./internal/privateTypes").Getter<Promise<boolean>>, isEmulatorSync: import("./internal/privateTypes").Getter<boolean>;
|
47 | export declare const isTablet: () => boolean;
|
48 | export declare const isLowRamDevice: () => boolean;
|
49 | export declare const isDisplayZoomed: () => boolean;
|
50 | export declare const isPinOrFingerprintSet: import("./internal/privateTypes").Getter<Promise<boolean>>, isPinOrFingerprintSetSync: import("./internal/privateTypes").Getter<boolean>;
|
51 | export declare function hasNotch(): boolean;
|
52 | export declare function hasDynamicIsland(): boolean;
|
53 | export declare const hasGms: import("./internal/privateTypes").Getter<Promise<boolean>>, hasGmsSync: import("./internal/privateTypes").Getter<boolean>;
|
54 | export declare const hasHms: import("./internal/privateTypes").Getter<Promise<boolean>>, hasHmsSync: import("./internal/privateTypes").Getter<boolean>;
|
55 | export declare const getFirstInstallTime: import("./internal/privateTypes").Getter<Promise<number>>, getFirstInstallTimeSync: import("./internal/privateTypes").Getter<number>;
|
56 | export declare const getInstallReferrer: import("./internal/privateTypes").Getter<Promise<string>>, getInstallReferrerSync: import("./internal/privateTypes").Getter<string>;
|
57 | export declare const getLastUpdateTime: import("./internal/privateTypes").Getter<Promise<number>>, getLastUpdateTimeSync: import("./internal/privateTypes").Getter<number>;
|
58 | export declare const getStartupTime: import("./internal/privateTypes").Getter<Promise<number>>, getStartupTimeSync: import("./internal/privateTypes").Getter<number>;
|
59 | export declare const getCarrier: import("./internal/privateTypes").Getter<Promise<string>>, getCarrierSync: import("./internal/privateTypes").Getter<string>;
|
60 | export declare const getTotalMemory: import("./internal/privateTypes").Getter<Promise<number>>, getTotalMemorySync: import("./internal/privateTypes").Getter<number>;
|
61 | export declare const getMaxMemory: import("./internal/privateTypes").Getter<Promise<number>>, getMaxMemorySync: import("./internal/privateTypes").Getter<number>;
|
62 | export declare const getTotalDiskCapacity: import("./internal/privateTypes").Getter<Promise<number>>, getTotalDiskCapacitySync: import("./internal/privateTypes").Getter<number>;
|
63 | export declare function getTotalDiskCapacityOld(): Promise<number>;
|
64 | export declare function getTotalDiskCapacityOldSync(): number;
|
65 | export declare const getFreeDiskStorage: import("./internal/privateTypes").Getter<Promise<number>>, getFreeDiskStorageSync: import("./internal/privateTypes").Getter<number>;
|
66 | export declare function getFreeDiskStorageOld(): Promise<number>;
|
67 | export declare function getFreeDiskStorageOldSync(): number;
|
68 | export declare const getBatteryLevel: import("./internal/privateTypes").Getter<Promise<number>>, getBatteryLevelSync: import("./internal/privateTypes").Getter<number>;
|
69 | export declare const getPowerState: import("./internal/privateTypes").Getter<Promise<Partial<PowerState>>>, getPowerStateSync: import("./internal/privateTypes").Getter<Partial<PowerState>>;
|
70 | export declare const isBatteryCharging: import("./internal/privateTypes").Getter<Promise<boolean>>, isBatteryChargingSync: import("./internal/privateTypes").Getter<boolean>;
|
71 | export declare function isLandscape(): Promise<boolean>;
|
72 | export declare function isLandscapeSync(): boolean;
|
73 | export declare const isAirplaneMode: import("./internal/privateTypes").Getter<Promise<boolean>>, isAirplaneModeSync: import("./internal/privateTypes").Getter<boolean>;
|
74 | export declare const getDeviceType: () => string;
|
75 | export declare const getDeviceTypeSync: () => string;
|
76 | export declare const supportedAbis: import("./internal/privateTypes").Getter<Promise<string[]>>, supportedAbisSync: import("./internal/privateTypes").Getter<string[]>;
|
77 | export declare const supported32BitAbis: import("./internal/privateTypes").Getter<Promise<string[]>>, supported32BitAbisSync: import("./internal/privateTypes").Getter<string[]>;
|
78 | export declare const supported64BitAbis: import("./internal/privateTypes").Getter<Promise<string[]>>, supported64BitAbisSync: import("./internal/privateTypes").Getter<string[]>;
|
79 | export declare function hasSystemFeature(feature: string): Promise<boolean>;
|
80 | export declare function hasSystemFeatureSync(feature: string): boolean;
|
81 | export declare function isLowBatteryLevel(level: number): boolean;
|
82 | export declare const getSystemAvailableFeatures: import("./internal/privateTypes").Getter<Promise<string[]>>, getSystemAvailableFeaturesSync: import("./internal/privateTypes").Getter<string[]>;
|
83 | export declare const isLocationEnabled: import("./internal/privateTypes").Getter<Promise<boolean>>, isLocationEnabledSync: import("./internal/privateTypes").Getter<boolean>;
|
84 | export declare const isHeadphonesConnected: import("./internal/privateTypes").Getter<Promise<boolean>>, isHeadphonesConnectedSync: import("./internal/privateTypes").Getter<boolean>;
|
85 | export declare const isWiredHeadphonesConnected: import("./internal/privateTypes").Getter<Promise<boolean>>, isWiredHeadphonesConnectedSync: import("./internal/privateTypes").Getter<boolean>;
|
86 | export declare const isBluetoothHeadphonesConnected: import("./internal/privateTypes").Getter<Promise<boolean>>, isBluetoothHeadphonesConnectedSync: import("./internal/privateTypes").Getter<boolean>;
|
87 | export declare const isMouseConnected: import("./internal/privateTypes").Getter<Promise<boolean>>, isMouseConnectedSync: import("./internal/privateTypes").Getter<boolean>;
|
88 | export declare const isKeyboardConnected: import("./internal/privateTypes").Getter<Promise<boolean>>, isKeyboardConnectedSync: import("./internal/privateTypes").Getter<boolean>;
|
89 | export declare const getSupportedMediaTypeList: import("./internal/privateTypes").Getter<Promise<string[]>>, getSupportedMediaTypeListSync: import("./internal/privateTypes").Getter<string[]>;
|
90 | export declare const isTabletMode: () => Promise<boolean>;
|
91 | export declare const getAvailableLocationProviders: import("./internal/privateTypes").Getter<Promise<LocationProviderInfo>>, getAvailableLocationProvidersSync: import("./internal/privateTypes").Getter<LocationProviderInfo>;
|
92 | export declare const getBrightness: import("./internal/privateTypes").Getter<Promise<number>>, getBrightnessSync: import("./internal/privateTypes").Getter<number>;
|
93 | export declare function getDeviceToken(): Promise<string>;
|
94 | export declare function useBatteryLevel(): number | null;
|
95 | export declare function useBatteryLevelIsLow(): number | null;
|
96 | export declare function usePowerState(): Partial<PowerState>;
|
97 | export declare function useIsHeadphonesConnected(): AsyncHookResult<boolean>;
|
98 | export declare function useIsWiredHeadphonesConnected(): AsyncHookResult<boolean>;
|
99 | export declare function useIsBluetoothHeadphonesConnected(): AsyncHookResult<boolean>;
|
100 | export declare function useFirstInstallTime(): AsyncHookResult<number>;
|
101 | export declare function useDeviceName(): AsyncHookResult<string>;
|
102 | export declare function useHasSystemFeature(feature: string): AsyncHookResult<boolean>;
|
103 | export declare function useIsEmulator(): AsyncHookResult<boolean>;
|
104 | export declare function useManufacturer(): AsyncHookResult<string>;
|
105 | export declare function useBrightness(): number | null;
|
106 | export type { AsyncHookResult, DeviceType, LocationProviderInfo, PowerState };
|
107 | declare const DeviceInfo: DeviceInfoModule;
|
108 | export default DeviceInfo;
|