A clause may be declarative in form but directive in meaning, as when an obligation is expressed in indicative wording. Therefore both outward syntax and practical communicative force matter.
An imperative and a prohibition have different forms but both express directives. This distinction explains some coordinate clauses that seem different on the surface.