A woman has died and a man has been critically injured in a shark attack on the NSW mid-north coast early on Thursday.