import { Observable } from "rxjs";
import type { DeviceManagementKit, ExecuteDeviceActionReturnType } from "@ledgerhq/device-management-kit";
import type { ConnectAppDAOutput, ConnectAppDAError, ConnectAppDAIntermediateValue } from "@ledgerhq/live-dmk-shared";
import { ConnectAppEvent } from "./connectApp";
export declare class ConnectAppEventMapper {
    private dmk;
    private sessionId;
    private appName;
    private events;
    private openAppRequested;
    private permissionRequested;
    private lastSeenDeviceSent;
    private installPlan;
    private deviceId;
    private eventSubject;
    constructor(dmk: DeviceManagementKit, sessionId: string, appName: string, events: ExecuteDeviceActionReturnType<ConnectAppDAOutput, ConnectAppDAError, ConnectAppDAIntermediateValue>);
    map(): Observable<ConnectAppEvent>;
    private handleDeviceState;
    private handleEvent;
    private handlePendingEvent;
    private handleInstallPlan;
    private handleCompletedEvent;
    private handleErrorEvent;
    private handleError;
    private mapDeviceError;
    private mapSkippedApps;
    private mapDeviceInfo;
    private mapLatestFirmware;
}
//# sourceMappingURL=connectAppEventMapper.d.ts.map