Как загрузить файл runComponentAction

PHP
/**
 * Импортируем файл 
 * @param array $data
 * @param null|array $params
 * @return array
 */
public function importAction(array $data, ?array $params = []): array
{
   try {
           ... 
   } catch (\Throwable $th) {
      $this->addError(new Error($th->getMessage(), $th->getCode()));
   }
   return $file;
}
JS
const data = document.getElementById();
// data = 

BX.ajax.runComponentAction('company:sale.basket.detail', 'import', { 
   mode: 'ajax',
   data: Default,
})
?.then(response => {...})
.catch(response => {...})