Any license production deal will see MKIzation of the Su-57, so our own avionics. But yeah, if done, we will need far more ToT than MKI for the airframe and engine. Some exotic parts can be imported in the beginning, but we will definitely need a roadmap for 100% indigenization by the time the jet hits MLU.
More realistically, there's not going to be a production deal. But if the Russians plan on making India their Flanker export hub due to sanctions, then there's a possibility of allowing assembly of any stopgap Su-57s ordered, which can eventually move towards export deliveries too.
The F-35 will come with that risk, but if we follow the Israeli model we will have significantly more control over the aircraft than even the USAF. At least, unlike Su-57, it's a significant step ahead with its new avionics.
Alternatively, the F-35 is a direct competitor to the MRFA Rafales. If the Americans agree to meet local production and ToT requirements, then it could become an option. The West typically start offering equivalents the minute we develop our own tech.
It's going to be quite funny if we end up building 4th gen MRFA Rafales, a la 3rd gen Jaguars, but also go for 2 squadrons each of 5th gen Su-57 and F-35, a la 4th gen M2000/Mig-29. History repeating itself. Even the timelines match; late 1970s/2020s and early 1980s/2030s.