Multiple pathways for protein transport into or across the thylakoid membrane.