Residents have been warned to stay inside and secure their belongings as a tropical cyclone threatens to develop and smash the coast in the next 24-48 hours.