To declare something is to say what you are going to do next. This text is mostly seen in places like "when a monster declares an attack" or when you "declare a card type (Monster, Spell, or Trap)".