Your contract must implement a contract interface in order to be imported. In this case, we’re borrowing a contract that implements the NonFungibleToken
contract interface.
You can only access fields/functions present in the contract interface.
cadence