Queensland is facing the threat of a tropical cyclone developing off the north coast, as storms are set to batter parts of New South Wales on Monday night.