/**
 * This is hacking out the revert reason from the ethers provider thrown error however it can.
 * This object seems to be undocumented by ethers.
 * @param error - An error from the ethers provider
 */
declare const swapErrorToUserReadableMessage: (error: any) => string;
export { swapErrorToUserReadableMessage };
//# sourceMappingURL=swap-error.d.ts.map