One and the same sentence can have different rhetorical analyses in different circumstances. “You have harmed me; you will know” is ordinary direct speech when said to the wrongdoer. A figurative or allusive reading becomes possible when the speaker’s real warning is directed elsewhere.
The contextual indicator must establish whether the overt addressee, someone else, or both are intended. The mere presence of a third person does not settle the analysis.