import { TransactionError } from '../../types'; export declare class ErrorParser { /** * Parses an error object to return a TransactionError object */ parse(error: any): TransactionError; /** * Parse the error code from the error object. * @param error The error object. * @returns The error code. */ private parseErrorCode; /** * Parse the error hash from the error object. * @param error The error object. * @returns The error hash. */ private parseErrorHash; /** * Parse the error message from the error object. * @param error The error object. * @returns The error message. */ private parseErrorMessage; }