import Transport from "@ledgerhq/hw-transport";
import { Observable } from "rxjs";
import { ConnectAppEvent } from "../hw/connectApp";
import { InlineAppInstallEvent } from "./types";
/**
 * Tries to install a list of apps
 *
 * @param transport Transport instance
 * @param appNames List of app names to install
 * @param onSuccessObs Optional observable to run after the installation
 * @param allowPartialDependencies If true, keep installing apps even if some are missing
 * @returns Observable of InlineAppInstallEvent or ConnectAppEvent
 * - Event "inline-install" contains a global progress of the installation
 */
declare const inlineAppInstall: ({ transport, appNames, onSuccessObs, allowPartialDependencies, }: {
    transport: Transport;
    appNames: string[];
    onSuccessObs?: (() => Observable<any>) | undefined;
    allowPartialDependencies?: boolean | undefined;
}) => Observable<InlineAppInstallEvent | ConnectAppEvent>;
export default inlineAppInstall;
//# sourceMappingURL=inlineAppInstall.d.ts.map