/// import * as WebSocket from 'ws'; import { Colors } from './constants'; export interface Routes { [i: string]: { url: string; port: number; processName: string; color: Colors; }; } export declare const ACTIONS: { ADD_ROUTE: string; ADD_ROUTES: string; REMOVE_ROUTES: string; }; export declare const init: () => void; export declare const addRoute: (processName: string, color: Colors, url: string, port: number, ws: WebSocket) => void; export declare const addRoutes: (routes: Routes, ws: WebSocket) => void; export declare const removeRoutes: (routes: Routes, ws: WebSocket) => void; export declare const startSockets: (port: number, wss: WebSocket.Server) => void; declare const router: () => void; export default router;