import { type AdbServerClient } from "@yume-chan/adb"; import type { SocketConnectOpts } from "node:net"; export type * from "./adb-shell-types.js"; import { type App, type Connection, type Device, type OpenAppOptions, type Transport, type TransportConnectOptions } from "./transport.js"; export interface AppIcon { readonly data: Uint8Array; readonly mimeType: "image/png"; } export declare class AndroidTransport implements Transport { #private; readonly id = "android"; protected readonly client: AdbServerClient; constructor(spec?: SocketConnectOpts); connect(options: TransportConnectOptions): Promise>; close(): Promise; listDevices(): Promise; protected getKnownApp(_packageName: string): { name?: string; activityName?: string; } | undefined; listAvailableApps(deviceId: string): Promise; getAppIcon(deviceId: string, packageName: string): Promise; openApp(deviceId: string, packageName: string, { withDataCleared, schema, restart, signal }?: OpenAppOptions): Promise; }