Heatsink pad connected to ground pins
It will say in the datasheet what the pad is electrically connected to.

You don't need dedicated electrical and thermal vias, just make the hole small (&lt;0.3mm) so they don't wick solder away, but that is true of any via in a pad.