A tropical cyclone lingering off Australia's east coast may impact two states, bringing damaging winds and heavy rainfall as it draws closer to the mainland.