Which of these two are the correct translation of the sentence "He could have seen me"?
- Er könnte mich gesehen haben.
- Er hätte mich gesehen können.
I have seen both forms and am a little confused. If both are correct please tell me where to use which one if there's a preference.
Best, Hooman