School districts are warning of staff layoffs as declining enrollment, expiring federal aid, and budget deficits collide.