import installApp from "./installApp";
import { concat } from "rxjs";
import { restoreAppDataUseCaseDI } from "../device/use-cases/appDataBackup/restoreAppDataUseCaseDI";
export default function installAppWithRestore(transport, targetId, app, deviceId, storage) {
    const install = installApp(transport, targetId, app);
    const restore = restoreAppDataUseCaseDI(transport, app.name, deviceId, storage);
    return concat(install, restore);
}
//# sourceMappingURL=installAppWithRestore.js.map