import type { ServerResponse } from 'node:http'; /** @internal Only transport errors caused by a disconnected HTTP client are benign. */ export declare function isClosedClientError(error: unknown): boolean; /** @internal Cover asynchronous errors as well as synchronous write failures. */ export declare function guardNodeResponseErrors(outgoing: ServerResponse, onUnhandledError?: (error: Error) => void): void; /** @internal Returns false when the response can no longer be written. */ export declare function writeToNodeResponse(outgoing: ServerResponse, write: () => void): boolean; //# sourceMappingURL=node-response-write.d.ts.map