A prolonged heatwave in Australia's interior will persist for at least a week with extreme heat in five states.