import { Device, Script, Session } from 'frida'; import express from 'express'; import { DeviceConnection, DevicePool } from '../server/devices.js'; import { FridaScriptExports, PackageInfo, StartMethod, SystemInfo } from './types.js'; import { UserData1, UserData2 } from './frida-script.cjs'; export declare class AndroidDeviceConnection extends DeviceConnection { readonly api: FridaScriptExports; readonly package_info: PackageInfo; readonly system_info: SystemInfo; constructor(device: Device, session: Session, script: Script, api: FridaScriptExports, package_info: PackageInfo, system_info: SystemInfo, data?: {}); setResponseHeaders(res: express.Response): void; ping(): Promise; genAudioH(token: string, timestamp: string | number | undefined, request_id: string, user_data?: UserData1): Promise; genAudioH2(token: string, timestamp: string | number | undefined, request_id: string, user_data?: UserData2): Promise; generateRequestId(): string; } export declare class AndroidDeviceManager { readonly devices: DevicePool; device: AndroidDeviceConnection; readonly reattach: () => void; readonly device_name: string; adb_path?: string | undefined; adb_root: boolean; exec_command?: string | undefined; frida_server_path?: string | undefined; start_method: StartMethod; ready: Promise | null; private _destroyed; onReattachFailed: (() => void) | null; constructor(devices: DevicePool, device: AndroidDeviceConnection, reattach: () => void, device_name: string, adb_path?: string | undefined, adb_root?: boolean, exec_command?: string | undefined, frida_server_path?: string | undefined, start_method?: StartMethod); ping(): Promise; destroy(): Promise; get destroyed(): boolean; static create(devices: DevicePool, device_name: string, adb_path?: string, adb_root?: boolean, exec_command?: string, frida_server_path?: string, start_method?: StartMethod): Promise; static getDeviceHostname(name: string): Promise; }