function composeAppsConfig(opts) {
  const appsConfig = composeAppsConfigFromAliased(opts);
  overrideAppLaunchArgs(appsConfig, opts.cliConfig);

  return appsConfig;
}
@param {DetoxConfigErrorComposer} opts.errorComposer
@param {Detox.DetoxConfig} opts.globalConfig
@param {Detox.DetoxDeviceConfig} opts.deviceConfig
@param {Detox.DetoxConfiguration} opts.localConfig
@param {*} opts.cliConfig
@returns {Record<string, Detox.DetoxAppConfig>}