Constraints on the galactic centre's content from hypervelocity stars