import { EthersError } from '@enzoferey/ethers-error-parser'; import { AppDispatch } from '../store'; /** * @function * @description Checks whether a value is an instance of EthersError. * @param {*} value - The value to check. * @returns {boolean} Returns true if the value is an instance of EthersError, otherwise false. */ export declare function isEthersError(value: any): value is EthersError; /** * @function * @description Handles an error that occurred while building a transaction and dispatches the error information to the Redux store. * @param {EthersError} err - The error that occurred while building the transaction. * @param {AppDispatch} dispatch - The dispatch function provided by the Redux store. * @returns {void} */ export declare const handleBuildTxError: (err: EthersError, dispatch: AppDispatch) => void;