import { ErrorCategory } from './types';
import { TransactionRequestType } from '../types';
export declare const extractMessage: (maybeError: unknown) => string | undefined;
export declare const getErrorMessage: (error: unknown, type?: ErrorCategory) => string;
export declare const getErrorMessageFromTransactionRequest: (error: unknown, requestType: TransactionRequestType) => string;
