/// import type { ContractOptions } from "web3-eth-contract"; import type { EventLog } from "web3-core"; import type { EventEmitter } from "events"; import type { Callback, NonPayableTransactionObject, BlockType, BaseContract } from "./types"; export interface EventOptions { filter?: object; fromBlock?: BlockType; topics?: string[]; } export interface IERC165 extends BaseContract { constructor(jsonInterface: any[], address?: string, options?: ContractOptions): IERC165; clone(): IERC165; methods: { supportsInterface(interfaceId: string | number[]): NonPayableTransactionObject; }; events: { allEvents(options?: EventOptions, cb?: Callback): EventEmitter; }; }