/**
 * Unified Error Handling System
 *
 * This module consolidates all error-related exports into a single entry point.
 * Use this module for all error handling needs instead of importing from
 * individual files.
 *
 * Architecture:
 * - errorTypes.ts: Base classes and structured error types
 * - apiKeyErrors.ts: API key and authentication errors
 * - networkErrors.ts: Network connectivity errors
 * - safetyValidator.ts: Input validation and safety checks
 *
 * Usage:
 * ```typescript
 * import {
 *   StructuredError,
 *   ErrorSeverity,
 *   ErrorCategory,
 *   DangerousOperationError,
 *   detectApiKeyError,
 *   detectNetworkError,
 * } from '../core/errors/index.js';
 * ```
 */
export { ErrorSeverity, ErrorCategory, type ErrorSuggestion, type StructuredErrorDetails, StructuredError, DangerousOperationError, BlockedOperationError, ContextOverflowError, ResourceLimitError, ValidationError, toStructuredError, } from './errorTypes.js';
export { type ApiKeyErrorType, type ApiKeyErrorInfo, detectApiKeyError, } from './apiKeyErrors.js';
export { type NetworkErrorInfo, detectNetworkError, } from './networkErrors.js';
export * from './safetyValidator.js';
export { type ErrorContextValue, type ErrorContext, buildError, } from '../errors.js';
/**
 * Detect and classify any error into a structured format
 */
export declare function detectError(error: unknown, provider?: string): {
    type: 'api_key' | 'network' | 'structured' | 'unknown';
    info: unknown;
};
/**
 * Check if an error is recoverable
 */
export declare function isRecoverableError(error: unknown): boolean;
/**
 * Get a user-friendly error message
 */
export declare function getUserFriendlyMessage(error: unknown): string;
/**
 * Format error for logging (includes full details)
 */
export declare function formatForLogging(error: unknown, context?: Record<string, unknown>): string;
//# sourceMappingURL=index.d.ts.map