import type { NextFunction } from "connect";
import type * as http from "node:http";
import { Server } from "..";
export declare class CompressionMiddleware {
    constructor(server: Server);
    exec(req: http.IncomingMessage, res: http.ServerResponse, next: NextFunction): void;
}
