UNPKG

@ledgerhq/live-common

Version:
26 lines 754 B
import { Observable } from "rxjs"; import { DeviceModelId } from "@ledgerhq/types-devices"; import { AttemptToQuitAppEvent } from "./attemptToQuitApp"; export type FetchImageEvent = AttemptToQuitAppEvent | { type: "progress"; progress: number; } | { type: "currentImageHash"; imgHash: string; } | { type: "imageFetched"; hexImage: string; } | { type: "imageAlreadyBackedUp"; }; export type FetchImageRequest = { backupHash?: string; allowedEmpty: boolean; deviceModelId: DeviceModelId; }; export type Input = { deviceId: string; request: FetchImageRequest; }; export default function fetchImage({ deviceId, request }: Input): Observable<FetchImageEvent>; //# sourceMappingURL=customLockScreenFetch.d.ts.map