import { MessariError } from "./types";
/**
 * Creates a MessariError from an HTTP response
 *
 * @param response - The fetch Response object
 * @returns A MessariError with response details
 */
export declare function createMessariError(response: Response): Promise<MessariError>;
/**
 * Formats error details for API errors
 *
 * @param error - The MessariError to format
 * @returns Formatted error message
 */
export declare function formatMessariApiError(error: MessariError): string;
/**
 * Formats generic errors
 *
 * @param error - The error to format
 * @returns Formatted error message
 */
export declare function formatGenericError(error: unknown): string;
