import type { IncomingMessage, ServerResponse, Server } from "node:http"; import { WebSocket } from "ws"; import { Engine, type Options } from "./engine.js"; export declare class MfupServer { readonly engine: Engine; readonly prefix: string; readonly sockets: import("ws").Server; constructor(options: Options); handle(req: IncomingMessage, res: ServerResponse): Promise; private receive; attach(server: Server): () => Server; close(): Promise; } export declare function createMfup(options: Options): MfupServer;