The resignation of Mubarak is the first step in the Egyptians struggle for a government/state which represents their will. There is no guarantee they will succeed though.
The Egyptian military has taken over, until elections are held likely in September. At that point, foreign intrusion, no different than the US support for Mubarak, may occur. Egyptians must guard against this intrusion, because it could result in a new dictator and/or a regime that is tied to the US establishment and other foreign interests. The best scenario for the Egyptians is an independent Egyptian government which most accurately reflects their will. They must guard against election fraud and exclusion of popular Egyptian movements/parties such as the Muslim Brotherhood. They must guard against foreign intrusion into the reforms of their Constitution.