/** * Base encryption error class * All encryption-related errors extend this class */ export declare class EncryptionError extends Error { readonly code: string; readonly context?: Record; readonly correlationId?: string; constructor(message: string, code?: string, context?: { correlationId?: string; [key: string]: unknown; }); } /** * Policy violation error * Thrown when a policy check fails */ export declare class PolicyViolationError extends EncryptionError { constructor(message: string, context?: Record); } /** * Unsupported algorithm error * Thrown when an algorithm is not supported by the provider */ export declare class UnsupportedAlgorithmError extends EncryptionError { constructor(message: string, context?: Record); } /** * Audit sink error * Thrown when an audit sink fails to record an event */ export declare class AuditSinkError extends EncryptionError { constructor(message: string, context?: Record); } /** * Key not found error * Thrown when a requested key is not available */ export declare class KeyNotFoundError extends EncryptionError { constructor(keyId: string, context?: Record); } /** * Circuit breaker open error * Thrown when circuit breaker is open and rejecting requests */ export declare class CircuitBreakerOpenError extends EncryptionError { constructor(message: string, context?: Record); } //# sourceMappingURL=errors.d.ts.map