In the System Reference Document, you can find it under "Staff Descriptions" in the Magic Items section. It's the same section that details how staffs use the wielder's stats to set things like save DCs and caster level. So a fireball cast from a staff will be an 8d6 one at the very least.