Seeing all the news of embassies evacuating out of Afghanistan made me wonder - what were the foreign relations of Taliban before the 2001 war? I can tell the US Consulate was shutdown in 1989, the British consulate in 1995, the Pakistani one in 1995 as well (although the Wiki article isn't completely clear on this). New York times reports about an Iranian consulate in a part of Afghanistan controlled by Taliban's opponents, making it seem like Iran did not have foreign relations with Taliban itself:
The dead diplomats were among 11 Iranians working at a consulate in Mazar-i-Sharif, a northern town that was the headquarters of an Iranian-backed rebel alliance until it was overrun by the Taliban on Aug. 8. Iranian officials had accused Taliban leaders of ordering that the consulate be captured, but had held out hope that all of the missing diplomats might still be alive.
The wiki article on Foreign relations of Afghanistan mentions that the Taliban government quickly became alienated due to Sharia law enforcement but nothing on diplomatic relations? The context of this question is trying to understand if the Taliban would become a fully isolated country after they inevitably recapture Kabul (similar to Turkmenistan or North Korea) or a somewhat open one similar to Pakistan or Iran.