/// import type { HTTPVersion, Instance as RouterInstance } from 'find-my-way'; import type { IncomingMessage, Server as NodeHttpServer, ServerResponse } from 'http'; import type { Controllers } from '../types/types'; import type { Server as NodeHttpsServer } from 'https'; import type { Registry } from '../core/Registry'; export declare class Server { router: RouterInstance; protected controllers: Controllers; constructor(registry: Registry); listen(...args: any[]): NodeHttpServer | NodeHttpsServer; protected createRequestHandler(): (req: IncomingMessage, res: ServerResponse) => void; protected createHttpsServer(): NodeHttpsServer; }