Dielectric theory of localised valence energy loss spectroscopy