import { ValidationError, NetworkError } from '../errors'; /** * Creates a validation error with context */ export declare function createValidationError(message: string, context?: Record): ValidationError; /** * Creates a network error with context */ export declare function createNetworkError(message: string, originalError?: Error, context?: Record): NetworkError; /** * Wraps an error-prone operation with network error handling */ export declare function wrapNetworkError(operation: () => Promise, errorMessage: string, context?: Record): Promise; /** * Wraps an error-prone operation with validation error handling */ export declare function wrapValidationError(operation: () => T, errorMessage: string, context?: Record): T; //# sourceMappingURL=error-helpers.d.ts.map