import { type ChildProcess } from "node:child_process";
import type { PortForwardResult } from "@/types/types";
/**
 * Start port forwarding using iproxy.
 * This spawns a long-running process that must be killed when no longer needed.
 *
 * @param localPort Local port to listen on
 * @param devicePort Device port to forward to
 * @param udid Device UDID
 * @param startupTimeout Time to wait for iproxy to start (ms)
 * @returns Object containing the result and the child process
 */
export declare function startPortForward(localPort: number, devicePort: number, udid: string, startupTimeout?: number): Promise<{
    result: PortForwardResult;
    process: ChildProcess;
}>;
/**
 * Kill a port forwarding process
 *
 * @param process The child process to kill
 */
export declare function killPortForwardProcess(process: ChildProcess): void;
//# sourceMappingURL=proxy.d.ts.map