The amount they mutually agree upon. The employee wouldn't agree to work indefinitely for no pay.
The high compensation of successful founders is actually one of the things keeping salaries up, because any of the salaried employees has the option to quit and found their own company. The existing company has to pay well enough to compete with that -- because if what they're paying wasn't actually competitive with that alternative given the relative risk between them, why would anybody accept the salary?