There is no direct equivalent of mysql_list_dbs() as a mysqli_list_dbs() command, but you can query "show databases" instead.
So this:
$db_list = mysql_list_dbs($connect); //mysql
Is equivalent to this:
$db_list = mysqli_query($connect, "SHOW DATABASES"); //mysqli