Interjection
(idiomatic) A mildly sarcastic thank you. I really wanted a bucket of water dropped on my head. Thanks a bunch.
(US, idiomatic) An unsarcastic thank you. Thanks a bunch for that great Christmas card you got me!