Perspectives of the GAMMA-400 space observatory for high-energy gamma rays and cosmic rays measurements