export declare function isTlsCertNameError(error: unknown): boolean; export declare function formatTlsNetworkError(error: unknown, url: string): string; export declare const DEFAULT_RETRIES = 0; export declare const RETRY_STATUSES: Set; export declare function isConnectionRefusedError(error: unknown): boolean; export declare function clampTimeoutMs(value: number | undefined): number; export declare function clampCaptureBytes(value: number | undefined): number; export declare function clampRetries(value: number): number; export declare function retryDelayMs(attempt: number): number; export declare function sleep(ms: number): Promise; export declare function drainResponse(response: Response): Promise; export declare function isBinaryContentType(contentType: string): boolean; export declare function isTextualContentType(contentType: string): boolean; export declare function isBinaryContent(body: Buffer): boolean;