import { AppError } from './app-error.js'; import { ErrorContext, ErrorContextBuilder, ErrorCategory, ErrorSeverity, RecoveryAction, RetryConfig } from './error-context.js'; export interface EnhancedAppErrorOptions { message: string; context: ErrorContext; statusCode?: number; isOperational?: boolean; details?: Record; } export declare class EnhancedAppError extends AppError { readonly errorContext: ErrorContext; constructor(options: EnhancedAppErrorOptions); getUserMessage(): string; getTechnicalDetails(): Record; getRecoverySuggestions(): RecoveryAction[] | undefined; isRetryable(): boolean; getRetryConfig(): RetryConfig | null | undefined; getSeverity(): ErrorSeverity; getCategory(): ErrorCategory; getHelpLinks(): ErrorContext['helpLinks'] | undefined; shouldReport(): boolean; containsSensitiveData(): boolean; getCorrelationIds(): string[]; getRequestId(): string | undefined; getUserId(): string | undefined; getSessionId(): string | undefined; getOperation(): string | undefined; getResource(): string | undefined; getTags(): Record; toJSON(): Record; static fromError(error: Error, context: ErrorContext): EnhancedAppError; static fromAppError(appError: AppError, contextBuilder?: ErrorContextBuilder): EnhancedAppError; static builder(): ErrorContextBuilder; } //# sourceMappingURL=enhanced-app-error.d.ts.map