import { i as createAndroidPortReverseManager, n as AndroidAdbExecutorOptions, r as AndroidPortReverseEndpoint, t as AndroidAdbExecutor } from "./sdk-android-adb.js"; import { t as AppsFilter } from "./sdk-app-inventory.js"; import fs from "node:fs"; //#region src/platforms/android/app-parsers.d.ts type AndroidForegroundApp = { package?: string; activity?: string; }; //#endregion //#region src/platforms/android/app-helpers.d.ts type AndroidAppListFilter = AppsFilter; type AndroidAppListTarget = 'mobile' | 'tv' | 'auto'; type AndroidAppListOptions = { filter?: AndroidAppListFilter; target?: AndroidAppListTarget; }; declare function listAndroidAppsWithAdb(adb: AndroidAdbExecutor, options?: AndroidAppListOptions): Promise>; declare function getAndroidAppStateWithAdb(adb: AndroidAdbExecutor): Promise; //#endregion //#region src/platforms/android/app-control.d.ts type AndroidOpenAppWithAdbOptions = { activity?: string; category?: string; }; declare function forceStopAndroidAppWithAdb(adb: AndroidAdbExecutor, packageName: string): Promise; declare function openAndroidAppWithAdb(adb: AndroidAdbExecutor, packageName: string, options?: AndroidOpenAppWithAdbOptions): Promise; //#endregion //#region src/platforms/android/logcat.d.ts type AndroidLogcatCaptureOptions = { lines?: number; timeoutMs?: number; signal?: AbortSignal; }; declare function captureAndroidLogcatWithAdb(adb: AndroidAdbExecutor, options?: AndroidLogcatCaptureOptions): Promise; //#endregion //#region src/core/android-input-ownership.d.ts type AndroidInputOwner = 'app' | 'ime' | 'unknown'; //#endregion //#region src/platforms/android/device-input-state.d.ts type AndroidKeyboardType = 'text' | 'number' | 'email' | 'phone' | 'password' | 'datetime' | 'unknown'; type AndroidKeyboardState = { visible: boolean; inputType?: string; type?: AndroidKeyboardType; inputMethodPackage?: string; focusedPackage?: string; focusedResourceId?: string; inputOwner: AndroidInputOwner; }; type AndroidKeyboardDismissResult = AndroidKeyboardState & { attempts: number; wasVisible: boolean; dismissed: boolean; }; declare function getAndroidKeyboardStatusWithAdb(adb: AndroidAdbExecutor): Promise; declare function dismissAndroidKeyboardWithAdb(adb: AndroidAdbExecutor): Promise; declare function readAndroidClipboardWithAdb(adb: AndroidAdbExecutor): Promise; declare function writeAndroidClipboardWithAdb(adb: AndroidAdbExecutor, text: string): Promise; //#endregion export { type AndroidAdbExecutor, type AndroidAdbExecutorOptions, type AndroidPortReverseEndpoint, captureAndroidLogcatWithAdb, createAndroidPortReverseManager, dismissAndroidKeyboardWithAdb, forceStopAndroidAppWithAdb, getAndroidAppStateWithAdb, getAndroidKeyboardStatusWithAdb, listAndroidAppsWithAdb, openAndroidAppWithAdb, readAndroidClipboardWithAdb, writeAndroidClipboardWithAdb };