export declare function isStreamingBody(contentType: string | null, contentLength: string | null): boolean; export declare function withBodyDeadline(read: Promise): Promise; export declare function isCapturableType(contentType: string | null): boolean; export declare function shouldCaptureErrorBody(status: number, enabled: boolean): boolean; export declare function projectErrorBody(rawText: string, contentType: string | null): { body: string; truncated: boolean; }; export declare function projectBody(rawText: string, contentType: string | null): { body: string; truncated: boolean; };