import { listApps } from "../../apps/listApps";
import { getEnv } from "@ledgerhq/live-env";
import { HttpManagerApiRepositoryFactory } from "../factories/HttpManagerApiRepositoryFactory";
export function listAppsUseCase(transport, deviceInfo, managerApiRepository = HttpManagerApiRepositoryFactory.getInstance()) {
    return listApps({
        transport,
        deviceInfo,
        deviceProxyModel: getEnv("DEVICE_PROXY_MODEL"),
        managerApiRepository,
        forceProvider: getEnv("FORCE_PROVIDER"),
        managerDevModeEnabled: getEnv("MANAGER_DEV_MODE"),
    });
}
//# sourceMappingURL=listAppsUseCase.js.map