@NotNull
  public static Promise<Collection<String>> getAvailableVersions(@NotNull Project project,
                                                                 @NotNull RepositoryLibraryDescription libraryDescription,
                                                                 @NotNull List<RemoteRepositoryDescription> repositories) {
    List<RemoteRepositoryDescription> repos = selectRemoteRepositories(project, null, repositories).stream().toList();
    return submitBackgroundJob(new VersionResolveJob(libraryDescription, repos));
  }
@NotNull
  public static Promise<Collection<String>> getAvailableVersions(@NotNull Project project,
                                                                 @NotNull RepositoryLibraryDescription libraryDescription,
                                                                 @NotNull List<RemoteRepositoryDescription> repositories)