The term can refer to both a bird and an expression of surprise.
El cocoroco cantó al amanecer, anunciando la llegada de un nuevo día.
The cocoroco sang at dawn, announcing the arrival of a new day.
El cocoroco de ese pájaro resonó por todo el bosque, anunciando su presencia.
The loud noise of that bird echoed throughout the forest, announcing its presence.