/** * Error Display Component * * Displays errors with user-friendly messages, retry buttons, and details expansion. * Supports both single errors and aggregated error views. * * @since v1.36.0 - Created for standardized error handling */ import React from 'react'; import { type PluginatorError } from '../../core/errors/index.js'; /** * Props for single error display */ export interface ErrorItemProps { error: PluginatorError; onRetry?: () => void; showDetails?: boolean; compact?: boolean; } /** * Single error display component */ declare function ErrorItemBase({ error, onRetry, showDetails, compact }: ErrorItemProps): React.ReactElement; declare namespace ErrorItemBase { var displayName: string; } export declare const ErrorItem: React.MemoExoticComponent; /** * Props for error list display */ export interface ErrorListProps { errors: PluginatorError[]; maxVisible?: number; onRetry?: (error: PluginatorError, index: number) => void; showSummary?: boolean; compact?: boolean; } /** * Error list with optional summary */ declare function ErrorListBase({ errors, maxVisible, onRetry, showSummary, compact }: ErrorListProps): React.ReactElement; declare namespace ErrorListBase { var displayName: string; } export declare const ErrorList: React.MemoExoticComponent; /** * Props for error summary display */ export interface ErrorSummaryProps { errors: PluginatorError[]; warnings?: string[]; showByType?: boolean; } /** * Aggregated error summary view */ declare function ErrorSummaryBase({ errors, warnings, showByType }: ErrorSummaryProps): React.ReactElement; declare namespace ErrorSummaryBase { var displayName: string; } export declare const ErrorSummary: React.MemoExoticComponent; /** * Props for inline error message */ export interface InlineErrorProps { error: unknown; prefix?: string; } /** * Simple inline error message */ declare function InlineErrorBase({ error, prefix }: InlineErrorProps): React.ReactElement; declare namespace InlineErrorBase { var displayName: string; } export declare const InlineError: React.MemoExoticComponent; export {}; //# sourceMappingURL=ErrorDisplay.d.ts.map