import { Contract as EthersContract } from 'ethers/lib/ethers'; import { GetContractArgs } from './getContract'; declare type Config = { /** Chain id to use for provider */ chainId?: number; /** Receive only a single event */ once?: boolean; }; export declare function watchContractEvent( /** Contract configuration */ contractArgs: GetContractArgs, /** Event name to listen to */ eventName: Parameters[0], callback: Parameters[1], { chainId, once }?: Config): () => void; export {};