import React from 'react';
/**
* Props for ErrorMessage component
*/
export interface ErrorMessageProps {
/**
* Error title
* @default 'Error'
*/
title?: string;
/**
* Error message to display
*/
message: string;
/**
* Optional retry callback function
*/
retry?: () => void;
/**
* Optional test ID for automated testing
*/
testId?: string;
/**
* Optional CSS class name
*/
className?: string;
}
/**
* Error message component for displaying errors to users
*
* ## Business Perspective
*
* Provides clear, actionable error messages to users when operations fail,
* maintaining trust and helping users understand what went wrong and how
* to proceed. Critical for operational excellence. ⚠️
*
* ## Technical Perspective
*
* Reusable error display component with consistent styling and optional
* retry functionality. Ensures errors are displayed in a user-friendly
* manner across all widgets.
*
* @example
* ```tsx
* // Simple error message
*
*
* // Error with custom title
*
*
* // Error with retry button
* refetchData()}
* />
* ```
*/
export declare const ErrorMessage: React.FC;
export default ErrorMessage;
//# sourceMappingURL=ErrorMessage.d.ts.map