Fetching details from the dictionary...
what; how
what (a) ...!; how ...!
surprisingly; to my amazement; believe it or not; why, ...!
oh my; wow
well, ...; so, ...
何と美しい景色だろうか。
What a beautiful view!
何と言っていいか分からなかった。
I didn't know what to say.
何と三年ぶりに連絡が来た。
To my surprise, I heard from them for the first time in three years.