import { Observable } from "rxjs";
import { Language } from "@ledgerhq/types-live";
import { AttemptToQuitAppEvent } from "./attemptToQuitApp";
export type InstallLanguageEvent = AttemptToQuitAppEvent | {
    type: "progress";
    progress: number;
} | {
    type: "devicePermissionRequested";
} | {
    type: "languageInstalled";
};
export type InstallLanguageRequest = {
    language: Language;
};
export type Input = {
    deviceId: string;
    deviceName: string | null;
    request: InstallLanguageRequest;
};
export default function installLanguage({ deviceId, deviceName, request, }: Input): Observable<InstallLanguageEvent>;
//# sourceMappingURL=installLanguage.d.ts.map