Sri Lanka have left injured spinner Ajantha Mendis out of their Twenty20 and one-day squads to face New Zealand.