Been looking at Interface class of Ethers library https://docs.ethers.io/v5/api/utils/abi/interface/#Interface--creating
and would like to test it like below, but not sure how to import this class and FormatTypes from Ethers. I get now "Interface is not defined" using
import { ethers } from "ethers";
const iface = new Interface(humanReadableAbi);
jsonAbi = iface.format(FormatTypes.json);
JSON.stringify(JSON.parse(jsonAbi), null, 2);