Tens of thousands of people are isolated by floodwaters in the New South Wales Hunter region and on the mid-north coast.