@SlyFlourishif a wizard casts a contingency spell and then rests for a day, do they regain both slots and still have the contingency?
The wizard regains the slots. The spell would tell you if the slots were unavailable.
— Jeremy Crawford (@JeremyECrawford) June 9, 2015