import { type App, type ClientList, type Connection, type Device, type OpenAppOptions, type Transport, type TransportConnectOptions } from "./transport.js"; export interface DaemonConnectOptions extends TransportConnectOptions { transportId: string; } /** * A Transport implementation that communicates with devices through the * daemon process over WebSocket. * * The daemon holds the real transports (Android, iOS, etc.) and maintains * persistent connections to device ports. DaemonTransport simply relays * messages through the daemon's WebSocket API using the same * Initialize/Register/Customized protocol as HDT. */ export declare class DaemonTransport implements Transport { #private; readonly id = "daemon"; constructor(endpoint?: number | string); close(): Promise; listDevices(): Promise; listAvailableApps(deviceId: string): Promise; openApp(deviceId: string, packageName: string, options?: OpenAppOptions): Promise; listClients(): Promise; connect(options: DaemonConnectOptions): Promise>; protected ensureDaemonRunning(port: number): Promise; }