@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
16 lines • 832 B
TypeScript
import { Observable } from "rxjs";
import type { ExecuteDeviceActionReturnType } from "@ledgerhq/device-management-kit";
import type { PrepareConnectManagerDAOutput, PrepareConnectManagerDAError, PrepareConnectManagerDAIntermediateValue } from "@ledgerhq/live-dmk-shared";
import { LockedDeviceEvent } from "./actions/types";
export declare class PrepareConnectManagerEventMapper {
private events;
private eventSubject;
constructor(events: ExecuteDeviceActionReturnType<PrepareConnectManagerDAOutput, PrepareConnectManagerDAError, PrepareConnectManagerDAIntermediateValue>);
map(): Observable<LockedDeviceEvent>;
private handleEvent;
private handlePendingEvent;
private handleCompletedEvent;
private handleErrorEvent;
private handleError;
}
//# sourceMappingURL=connectManagerEventMapper.d.ts.map