Shift Cable Sealing

Are the cables suppose to be sealed so the ATF can't travel up the sheath or is the sheath suppose to be sealed with the covering on it and the oil is suppose to be able to travel up the cable to lube them? And does anyone have a photo of what the seal looks like if it has one?

Jim