Both support Bluetooth. If you get a mini with bluetooth and a wireless keyboard/mouse.
Not sure however (hence the possibly comment) if the Treo supports this. It might out of the box, but its also possible that it requires some software to allow it to recognize the keyboard as a keyboard. They don't list keyboards on their list: