They look similar, except, PK imports are higher, PK Balance of Trade is worse.Pakistan has a much more diverse economy and bigger source of remittance.
Given its nuclear arsenal - Uncle Sam won’t let it go bankrupt or completely under Chinese control.
With all due respect - no one gives a shit about Sri Lanka.
PK:
Exports
$27.3 billion (2020 est.) note: data are in current year dollarsExports - commodities
textiles, clothing and apparel, rice, leather goods, surgical instruments (2019)Imports
$51.07 billion (2020 est.) note: data are in current year dollarsImports - commodities
refined petroleum, crude petroleum, natural gas, palm oil, scrap iron (2019)Pakistan - The World Factbook
www.cia.gov
SL
Exports
$19.41 billion (2019 est.) note: data are in current year dollarsExports - commodities
clothing and apparel, tea, used tires, rubber products, precious stones, cinnamon (2019)Imports
$24.56 billion (2019 est.) note: data are in current year dollarsImports - commodities
refined petroleum, textiles, gold, cars, broadcasting equipment (2019)Sri Lanka - The World Factbook
www.cia.gov