mh-two-thousand-and-two
2024-04-12 7fc6dbf547b8899d949b67cdec36b96a7d1701c7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import Extra from './Extra';
declare class ADBCommander {
    _commandFactory(command: string): Promise<{
        err: any;
        result?: undefined;
    } | {
        result: any;
        err?: undefined;
    }>;
    deviceList(): Promise<{
        deviceList: string[];
        err: any;
    }>;
    reverse(deviceSN: string, localPort: string, remotePort: string): Promise<{
        err: any;
        result?: undefined;
    } | {
        result: any;
        err?: undefined;
    }>;
    forward(deviceSN: string, localPort: string, remotePort: string): Promise<{
        err: any;
        result?: undefined;
    } | {
        result: any;
        err?: undefined;
    }>;
    version(): Promise<{
        version: any;
        err: any;
    }>;
    print(cmd: string): Promise<void>;
    uninstall(deviceSN: string, pkg: string): Promise<{
        result: any;
        err: any;
    }>;
    install(deviceSN: string, apkPath: string): Promise<{
        result: any;
        err: any;
    }>;
    isInstalled(deviceSN: string, pkg: string): Promise<{
        isInstalled: boolean;
        err: any;
    }>;
    startActivity(deviceSN: string, action?: string, component?: string, extra?: Extra[]): Promise<{
        result: any;
        err: any;
    }>;
    exeCommand(command: string): Promise<{
        err: any;
        result?: undefined;
    } | {
        result: any;
        err?: undefined;
    }>;
    getProp(deviceSN: string): Promise<{
        result: any;
        err: any;
    }>;
}
declare const adbCommander: ADBCommander;
export = adbCommander;