findImportsInSource = source => {
  return [...(sources[/** @type {keyof typeof sources} */ (source)] || [])];
}
This function "inspects the source code and returns a list of specifiers which
need to be imported.""

@param {string} source
@returns {string[]}