/** * Mark a framework-owned response whose body is already buffered in memory. * * @internal */ export declare function markBufferedResponse(response: Response): Response; /** * Associate a known-buffered SDK response with the request that produced it. * * Keeping the source response lets the Node bridge recognize framework-owned * header wrappers by body identity without trusting a content type. If any * middleware clones or replaces the body, the identity check fails closed. * * @internal */ export declare function trackBufferedResponse(request: Request, response: Response): Response; /** Whether a response body is covered by the framework's buffered contract. */ export declare function isBufferedResponse(response: Response, request?: Request): boolean; /** * Preserve the marker across a framework-owned, header-only response wrapper. * * Body-transforming user middleware does not call this helper, so replacing a * response still drops the buffered contract automatically. * * @internal */ export declare function inheritBufferedResponse(source: Response, target: Response): Response;