import { ErrorDescription } from '@ethersproject/abi/lib/interface'; import { utils } from 'ethers'; type Obj = Record; export declare function getInnermostError(err: T): Obj | undefined; export declare function decodeCustomError(iface: utils.Interface, err: T): ErrorDescription | void; export declare function formatCustomError({ name, signature, args, sighash }: ErrorDescription): Error; export declare function extractCustomError(iface: utils.Interface, err: T): Error | void; export {};