There was only one threat, the Soviet Union. It was never said out loud. We called it The Enemy. The base idea was to make Sweden to expensive to invade. Defense in depth and delaying actions was what we prepared for. Also repulsing airborne assaults and invasion by sea.
The most likely scenario was a greater regional war that we were dragged into. NATO was seen as a probable ally.