import EventEmitter from "node:events";
import type { AppleListenerConfig } from "../types";
import { AppleDeviceKit } from "./appleDeviceKit";
/**
 * DevicesMonitor - Monitor iOS device connections via USB
 *
 * Uses usb-device-listener for plug-and-play detection and filters
 * for Apple devices (VID 0x05AC).
 */
export declare class DevicesMonitor {
    private config;
    private identifyAlreadyConnected;
    private kits;
    private eventEmitter?;
    constructor(config?: AppleListenerConfig, identifyAlreadyConnected?: boolean);
    /**
     * Start tracking iOS device connections
     *
     * @returns EventEmitter that emits:
     *   - 'added': (deviceKit: AppleDeviceKit) when a device is connected
     *   - 'removed': (deviceId: string, port: number) when a device is disconnected
     */
    startTracking(): Promise<EventEmitter>;
    /**
     * Stop tracking device connections
     */
    stopTracking(): Promise<void>;
    /**
     * Get all currently tracked device kits
     */
    getKits(): Map<string, AppleDeviceKit>;
    /**
     * Get a specific device kit by UDID
     */
    getKit(udid: string): AppleDeviceKit | undefined;
    /**
     * Find connected iOS device and emit event
     */
    private findAndEmitDevice;
    /**
     * Identify already connected iOS devices
     */
    private identifyConnectedDevices;
}
//# sourceMappingURL=devicesMonitor.d.ts.map