import { Observable } from "rxjs";
import type { DeviceInfo } from "@ledgerhq/types-live";
import type { InstallLanguageEvent, InstallLanguageRequest, Input as InstallLanguageInput } from "../installLanguage";
import type { Action, Device } from "./types";
type State = {
    isLoading: boolean;
    requestQuitApp: boolean;
    unresponsive: boolean;
    languageInstallationRequested?: boolean;
    installingLanguage?: boolean;
    languageInstalled?: boolean;
    device: Device | null | undefined;
    deviceInfo: DeviceInfo | null | undefined;
    error: Error | null | undefined;
    progress?: number;
};
type ActionState = State & {
    onRetry: () => void;
};
type InstallLanguageAction = Action<InstallLanguageRequest, ActionState, boolean | undefined>;
export declare const createAction: (task: (arg0: InstallLanguageInput) => Observable<InstallLanguageEvent>) => InstallLanguageAction;
export {};
//# sourceMappingURL=installLanguage.d.ts.map