The sprocket will be specific to the saw, but could have the option of a .325 or 3/8 pitch sprocket. Now bars can get more complicated due to different lengths and different gauges. The chain pitch, gauge, and drive count have to match the bar. So a .325 pitch with .050 gauge( drive link thickness) and 80 drive count chain has to be used with a .325, .050, 80 bar. Now it appears that the 80 drive link count is unique to Husqvarna with 78 being the more common link count for a .325 20" chain So will have to pay attention to buying new bars and chains because the 78 and the 80(most likely Husqvarna dealer only) link count bars and chains can be found for Husqvarna saws.
Chains can come in different gauges. So .043, .050, .058, and .063 are used in different chains for various chainsaws.
.043 is limited to the small 3/8 chains(3/8 LP) as well as some .325
.050 is the most common and used on 3/8 LP, .325 and the big 3/8
.058 is used with .325 and the large 3/8 and was common on Husqvarna and Solo saws but is also most an obsolete size
.063 is used on .325 and large 3/8 exclusive to Stihl saws.