A natural disaster has been declared in parts of Australia's east coast as torrential rains cut main roads and leave thousands of people stranded.