import { Observable } from "rxjs";
import type { DeviceInfo } from "@ledgerhq/types-live";
import type { UninstallAllAppsEvent, Input as UninstallAllAppsInput } from "../uninstallAllApps";
import type { Action, Device } from "./types";
type State = {
    isLoading: boolean;
    unresponsive: boolean;
    requestQuitApp?: boolean;
    uninstallAppsRequested?: boolean;
    appsUninstalled: 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: UninstallAllAppsInput) => Observable<UninstallAllAppsEvent>) => RemoveImageAction;
export {};
//# sourceMappingURL=uninstallAllApps.d.ts.map