General Runge-Gross-type theorem for dipole laser-matter interaction