import { Observable } from "rxjs";
import type { DeviceInfo } from "@ledgerhq/types-live";
import type { FetchImageEvent, FetchImageRequest, Input as FetchImageInput } from "../customLockScreenFetch";
import type { Action, Device } from "./types";
type State = {
    isLoading: boolean;
    requestQuitApp: boolean;
    unresponsive: boolean;
    fetchingImage?: boolean;
    imageFetched?: boolean;
    device: Device | null | undefined;
    deviceInfo: DeviceInfo | null | undefined;
    error: Error | null | undefined;
    hexImage?: string | undefined;
    imgHash?: string | undefined;
    progress?: number;
    completed?: boolean;
    imageAlreadyBackedUp?: boolean;
};
type ActionState = State & {
    onRetry: () => void;
};
type FetchImageAction = Action<FetchImageRequest, ActionState, boolean>;
export declare const createAction: (task: (arg0: FetchImageInput) => Observable<FetchImageEvent>) => FetchImageAction;
export {};
//# sourceMappingURL=customLockScreenFetch.d.ts.map