import type { ClientRequest } from "node:http";
export interface SocketKeepAliveOptions {
    keepAlive: boolean;
    keepAliveMsecs?: number;
}
export declare const setSocketKeepAlive: (request: ClientRequest, { keepAlive, keepAliveMsecs }: SocketKeepAliveOptions, deferTimeMs?: number) => NodeJS.Timeout | number;
