import { Observable } from "rxjs";
import Transport from "@ledgerhq/hw-transport";
import type { ApplicationVersion, App } from "@ledgerhq/types-live";
/**
 * Command to install a given app to a device.
 *
 * On error (except on locked device errors), a retry mechanism is set.
 *
 * @param transport
 * @param targetId Device firmware target id
 * @param app Info of the app to install
 * @param others Extended params:
 *  - retryLimit: number of time this command is retried when any error occurs. Default to 5.
 *  - retryDelayMs: delay in ms before retrying on an error. Default to 500ms.
 * @returns An Observable emitting installation progress
 *  - progress: float number from 0 to 1 representing the installation progress
 */
export default function installApp(transport: Transport, targetId: string | number, app: ApplicationVersion | App, { retryLimit, retryDelayMs, }?: {
    retryLimit?: number;
    retryDelayMs?: number;
}): Observable<{
    progress: number;
}>;
//# sourceMappingURL=installApp.d.ts.map