UNPKG

788 BTypeScriptView Raw
1/**
2 * Copyright (c) Facebook, Inc. and its affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 *
7 */
8/**
9 * Executes the commands needed to get a list of devices from ADB
10 */
11declare function getDevices(adbPath: string): Array<string>;
12/**
13 * Gets available CPUs of devices from ADB
14 */
15declare function getAvailableCPUs(adbPath: string, device: string): Array<string>;
16/**
17 * Gets the CPU architecture of a device from ADB
18 */
19declare function getCPU(adbPath: string, device: string): string | null;
20declare const _default: {
21 getDevices: typeof getDevices;
22 getAvailableCPUs: typeof getAvailableCPUs;
23 getCPU: typeof getCPU;
24};
25export default _default;
26//# sourceMappingURL=adb.d.ts.map
\No newline at end of file