Even I wanted to put it the same way: when you say "export," nothing much will come to Pakistan. Pakistan will only get the few chunks, majority of dollars will go to China.
Pakistan has almost full control of the aircraft since it was totally designed and developed for the Pakistan Air Force due to cooperation between both countries. Pakistan could have taken advantage and worked on its own indigenous parts to replace Chinese parts. But, Pakistan never tried it might lack the funds, it would be good to start with RADAR, missiles, etc... but Pakistan never tried it.
Pakistan could try replacing it with its own indigenous parts if dollars allow it. It will be great for Pakistan in the future including the sell perspective.