import { Observable } from "rxjs";
import type { DeviceInfo } from "@ledgerhq/types-live";
import type { RemoveImageEvent, Input as RemoveImageInput } from "../customLockScreenRemove";
import type { Action, Device } from "./types";
type State = {
    isLoading: boolean;
    requestQuitApp: boolean;
    unresponsive: boolean;
    imageRemoveRequested?: boolean;
    imageRemoved: boolean;
    device: Device | null | undefined;
    deviceInfo: DeviceInfo | null | undefined;
    error: Error | null | undefined;
};
type StateWithRetry = State & {
    onRetry: () => void;
};
type RemoveImageAction = Action<unknown, StateWithRetry, boolean>;
export declare const createAction: (task: (arg0: RemoveImageInput) => Observable<RemoveImageEvent>) => RemoveImageAction;
export {};
//# sourceMappingURL=customLockScreenRemove.d.ts.map