I was actually thinking more about canned and dry foods, which have a shelf life in years.
But most baked goods, fresh produce and fruit will be OK for a few days or weeks, some things even longer.