In international trading there can be an economy that only exports, but restrict the import to minimum or at all. I cannot recall what the name given to this type of economy.
Is "autarky" the word you're looking for? That's been used to refer to a self-sufficient economy that does not need imports. As others have written, it's an ideological position that chooses to make a country worse off, and doesn't happen in reality, except for short periods in exceptional circumstances.
The existence of such an economy seems hypothetical. The whole point of exports is to gain foreign currency that one can spend on foreign goods - imports. It is possible that an economy has a trade surplus in several years but it is unrealistic that an economy almost never imports anything.