Which definition best defines “stream-of-consciousness”?

selected character’s thoughts and impressions presented by the author
a character’s thoughts and impressions presented exactly as they occur
a character’s thoughts and impressions paraphrased by the author
a character’s thoughts and impressions spoken aloud to another person