import type { Request } from "./web-incoming";
import type { Socket } from "node:net";
import type { NormalizedServerOptions, ProxyServer } from "..";
export declare function numOpenSockets(): number;
export declare function checkMethodAndHeader(req: Request, socket: Socket): true | undefined;
export declare function XHeaders(req: Request, _socket: Socket, options: NormalizedServerOptions): void;
export declare function stream(req: Request, socket: Socket, options: NormalizedServerOptions, head: Buffer | undefined, server: ProxyServer, cb?: Function): void;
export declare const WS_PASSES: {
    checkMethodAndHeader: typeof checkMethodAndHeader;
    XHeaders: typeof XHeaders;
    stream: typeof stream;
};
