UNPKG

@staroverlay/cli

Version:

CLI for StarOverlay related projects.

21 lines 694 B
import express from "express"; import http from "http"; import * as socketIO from "socket.io"; export interface DevServerSettings { port: number; bind: string; root: string; engine: "express" | "vite"; } export declare function startDevServer(settings: DevServerSettings): void; export type Request = http.IncomingMessage; export type Response = http.ServerResponse; export type Next = () => unknown; export type RawMiddleware = (req: Request, res: Response, next: Next) => void | unknown; export type RawHTTPServer = http.Server; export type EnvContext = { server: RawHTTPServer; app: express.Application; io: socketIO.Server; }; //# sourceMappingURL=index.d.ts.map