import type { NodeResponseContext, ResponseBodyReplacement } from "./node-outcome-hook.js"; export declare function isBodylessStatus(status: number): boolean; /** Apply a body hook's return to the native response outcome. */ export declare function applyBodyReplacement(response: NodeResponseContext, replaced: string | Uint8Array | ResponseBodyReplacement | undefined): void; /** * Swap a tagged Response's body for a hook's replacement, re-tagging so later body hooks and the Node * fallback's direct writer see the new bytes. Explicit lengths are dropped so framing is re-derived. */ export declare function withReplacedBody(response: Response, replaced: string | Uint8Array | ResponseBodyReplacement | undefined): Response; //# sourceMappingURL=response-hooks.d.ts.map