Ahmed al-Sharaa has declared himself president, but the country is fractured among competing armed factions.