A declarative sentence may also aim to celebrate success, express satisfaction at the defeat of falsehood, or rebuke someone. These rhetorical uses do not change the sentence into a nondeclarative form.
Joy or triumph: “جَاءَ الْحَقُّ وَزَهَقَ الْبَاطِلُ”
“Truth has come and falsehood has vanished.” (Al-Isrāʾ 17:81)
The context can highlight joy in truth's victory and falsehood's defeat.
Expression of happiness: “أَخَذْتُ جَائِزَةَ التَّقَدُّمِ”
“I received an award for excellence.”
When told to someone who already knows the result, the purpose may be to express the speaker's delight.
Rebuke: “الشَّمْسُ طَالِعَةٌ”
“The sun is up.”
Said to someone who stumbled through inattention in broad daylight, the seemingly obvious report can serve as criticism.
Lesson conclusion: Maʿānī studies both sentence form and communicative circumstances. The purpose of the same declarative expression can therefore vary with context.