Text this: Theory of x-ray photon correlation spectroscopy for multiscale flows