import type { ProviderId } from '../types.js';
export interface NetworkErrorInfo {
    type: 'network';
    message: string;
    code?: string;
    provider?: ProviderId | string;
    retryable: boolean;
}
/**
 * Heuristically detect network connectivity errors from provider/client failures.
 * Covers DNS, TLS, socket, fetch, and generic "connection error" cases.
 */
export declare function detectNetworkError(error: unknown): NetworkErrorInfo | null;
//# sourceMappingURL=networkErrors.d.ts.map