14 lines
653 B
TypeScript
14 lines
653 B
TypeScript
/**
|
|
* Ink Engine Server
|
|
*
|
|
* Serves the shared client UI and runs a compiled Ink JSON story through the
|
|
* unified TurnResult socket protocol.
|
|
*/
|
|
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 };
|