The only thing India would be contributing to either the Typhoon or Rafale would be additional manufacturing capacity and plenty of funds. In this regard, the Rafale makes more sense for India since it’s almost attained full multi-role configuration unlike the Eurofighter.
The most a large customer like India or Brazil could gain out of such deals would be new electronics or propulsion technology.