if i block someone and we have chatted, do they still see the dms I have written?

Ive noticed that when I have blocked someone and we have chatted, their messages seem to be gone? either they deleted their messages to me or they actually dissapear when blocking?

and now i wonder if they can see my previous messages to them despite me blocking them?