I've looked though all the other questions on this topic and no answers seem to work, I have run npm i @chainlink/contracts. But still I can not import these contracts. It works perfectly on remix but in vscode with hardhat, nothing seems to fix it.
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";