/// <reference types="node" />
/// <reference types="node" />
import type { Server } from 'http';
import { Server as HttpsServer } from 'https';
/**
 * Returns `true` if the server is an HTTPS server.
 */
export declare function isHttpsServer(server: Server): server is HttpsServer;
/**
 * A factory for HTTP servers.
 */
export interface HttpServerFactory {
    createServer: () => Promise<Server>;
}
