/** * Error enhancement utilities for better diagnostics */ import { AxiosError } from 'axios'; import TestingBotError from '../models/testingbot_error'; /** * Enhances generic network errors with more specific diagnostic information */ export declare function enhanceNetworkError(error: Error, url: string): TestingBotError; /** * Get a user-friendly error message for an HTTP status code */ export declare function getStatusCodeMessage(statusCode: number, serverMessage?: string): string; /** * Handle Axios errors with enhanced diagnostics */ export declare function handleAxiosError(error: AxiosError, operation: string): TestingBotError; /** * Check if an error is a network-level error (vs HTTP error) */ export declare function isNetworkError(error: AxiosError): boolean; /** * Check if error is retryable */ export declare function isRetryableError(error: AxiosError): boolean; //# sourceMappingURL=error-helpers.d.ts.map