An incredulous or clarifying interrogative used to request repetition or to express surprise at what someone has just said (equivalent to 'what did you say?').
2.
USUKglobalinformal
When part of the construction 'tell you what' or similar phrases, a colloquial signal introducing a proposal, suggestion, or offer (equivalent to 'here is what I'll do' or 'let me propose this').