import { Log, Provider } from '@ethersproject/abstract-provider'; import { Contract } from '@ethersproject/contracts'; /** * Extracts the first log from a transaction receipt that matches * the provided contract and any of the provided event names. * * @param provider - Ethers provider for the network * @param txHash - Transaction hash * @param contract - Contract that should have emitted the event * @param eventNames - Names of the events that could have been emitted * @returns The first log that matches the contract and any of the event names * @throws If the transaction receipt cannot be retrieved, or if no matching log is found */ export declare const getMatchingTxLog: (provider: Provider, txHash: string, contract: Contract, eventNames: string[]) => Promise;