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; 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;