import { ethers } from 'ethers'; import { ErrorDescription } from '@ethersproject/abi/lib/interface'; import { Interface } from 'ethers/lib/utils'; import { Provider } from '@ethersproject/providers'; export declare function getRevertReason(provider: Provider, txHashOrResponse: ethers.providers.TransactionResponse | string, abis?: Interface[], logger?: import("../util").BaseLogger): Promise; export declare function extractRevertData(provider: Provider, response: ethers.providers.TransactionResponse): Promise; export declare function decodeRevertData(code: string): string; export declare function parseServerError(e: any, abis?: Interface[]): { raw: any; code: any; msg: any; description: any; transaction: any; }; //# sourceMappingURL=revert.d.ts.map