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;
    deviceName: string | null;
    request: FetchImageRequest;
};
export default function fetchImage({ deviceId, deviceName, request, }: Input): Observable<FetchImageEvent>;
//# sourceMappingURL=customLockScreenFetch.d.ts.map