import { WDAClient } from "./wda-client.js"; export declare class WDAManager { private instances; private clients; /** Deduplicates parallel launches for the same device */ private launchPromises; /** Long-lived `ios forward` processes for physical devices, by udid. */ private forwards; private readonly startupTimeout; /** Physical first-run does a full device build+sign+install — much slower. */ private readonly deviceStartupTimeout; private readonly buildTimeout; ensureWDAReady(deviceId: string, isSimulator?: boolean): Promise; private doLaunch; private discoverWDA; private buildWDAIfNeeded; private launchWDA; /** * Launch WDA on a PHYSICAL device. Unlike the simulator path we use * `xcodebuild test` (build+sign+install+run in one shot, automatic * provisioning) targeting the device destination, then forward the device's * WDA port to a local port via go-ios so the localhost WDAClient is unchanged. */ private launchWDADevice; /** Start (idempotently) an `ios forward localPort -> DEVICE_WDA_PORT`. */ private ensureForward; private stopForward; /** Team ID for signing: explicit env wins, else first codesigning identity. */ private resolveTeamId; private checkHealth; private findFreePort; cleanup(): void; } //# sourceMappingURL=wda-manager.d.ts.map