the output file entity being referenced by this import. this is present even when resource being referenced is an external resource.
include a unique key that you can use to trace back the imported entity,
because the path of the import in the bundled output will differ, whereas this key will remain the same.
Optionalwithassociate a with import attribute to the import.
indicates the kind of import that is being performed. all of these are inherited from esbuild metafile's
EsbuildMetafileImportProps.kind | kind field, with the exception of "user-import",
which is assigned when the user specifies an import during the transformation stage (OnTransformResult).
indicates if this imported entity is an external resource (and hence not bundled).
an imported entity node, similar to ImportedEntity, but with a shared entity object field.