import type { IncomingMessage, ServerResponse } from "node:http";
/** Node's fetch Request does not always abort when a completed upload's peer
 * disconnects before response headers. Observe the response socket as well. */
export declare function bindProxyClientCancellation(request: Request, bindings: {
    incoming?: IncomingMessage;
    outgoing?: ServerResponse;
} | undefined, controller: AbortController): () => void;
