For example, the third party library uses very complex directory structure for the package. Can I import them at once. the star seems can only imports one directory level.>
You can import only one directory level.
In IntelliJ Ctrl + Alt + O shortcut can be helpful to:
You can also adjust the auto-import settings under "Settings → Editor → General → Auto Import"