import { type IncomingMessage, type Server, type ServerResponse } from 'node:http';
/**
 * HTTP server factory for testing purposes
 */
export declare const httpServer: {
    /**
     * Creates a new HTTP server for testing with automatic cleanup
     * @param handler - The request handler function
     */
    create(handler: (req: IncomingMessage, res: ServerResponse) => any | Promise<any>): Promise<{
        server: Server;
        url: string;
        port: number;
    }>;
};
