How to read .sol files in typescript files?

Hello,
what library could we use to read .sol file and it’s functions from the contract folder and call some function of the .sol file in typescript ?