"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.backupAppDataUseCaseDI = void 0;
const backupAppData_1 = require("./backupAppData");
const backupAppDataUseCase_1 = require("./backupAppDataUseCase");
/**
 * Dependency injection function for the backupAppDataUseCase.
 *
 * @param transport - The hardware transport object used for communication with the device.
 * @param storageProvider - The storage provider object used for storing the backup data.
 * @param appName - The name of the application for which the data needs to be backed up.
 * @returns The backupAppDataUseCase with the provided dependencies injected.
 */
function backupAppDataUseCaseDI(transport, appName, deviceModelId, storageProvider) {
    return (0, backupAppDataUseCase_1.backupAppDataUseCase)(appName, deviceModelId, storageProvider, () => (0, backupAppData_1.backupAppData)(transport, appName));
}
exports.backupAppDataUseCaseDI = backupAppDataUseCaseDI;
//# sourceMappingURL=backupAppDataUseCaseDI.js.map