12 lines
608 B
TypeScript
12 lines
608 B
TypeScript
/**
|
|
* AI Interactive Fiction - Web Server
|
|
* Serves the web UI and handles WebSocket communication
|
|
*/
|
|
import http from 'http';
|
|
import { Server as SocketIOServer } from 'socket.io';
|
|
declare const app: import("express-serve-static-core").Express;
|
|
declare const server: http.Server<typeof http.IncomingMessage, typeof http.ServerResponse>;
|
|
declare const io: SocketIOServer<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any>;
|
|
export declare function startServer(initialPort: number, range: number): Promise<void>;
|
|
export { app, server, io };
|