import { AbiItem } from '../../abi-properties'; import { EthersVersion } from './enums/ethers-version'; export declare class EthersFactory { constructor(); /** * Build ethers generic interfaces */ buildEthersInterfaces(abiName: string, ethersVersion: EthersVersion): string; /** * Get ethers imports by version number * @param abiName The abi name * @param ethersVersion The ethers version */ private getEthersImports; /** * Build event interface properties * @param abiItems The abi json */ buildEventInterfaceProperties(abiItems: AbiItem[]): string; /** * Build the method return context * @param type The type it returns * @param abiItem The abi item */ buildMethodReturnContext(type: string, abiItem: AbiItem): string; /** * Add overrides to the parameters - https://docs.ethers.io/ethers.js/html/api-contract.html#overrides * @param parameters The parameters * @param abiItem The abi items */ addOverridesToParameters(parameters: string, abiItem: AbiItem): string; }