import { EventSystemConnection } from "./eventSystem.js"; import { Router } from "./router/router.class.js"; /** * Use interface HubEventList to add types to the on/send events */ export declare class HUB { options: HubInputOptions; isRunning: boolean; port: number; server: import("node:http").Server; router: Router; events: EventSystemConnection; constructor(options: HubInputOptions); init(): Promise; getUrl(path?: string): string; addRoute: { (method: import("./router/_types.js").HttpMethods, url: import("./router/_types.js").UrlPath, action: import("./router/_types.js").RouteValue): void; (url: import("./router/_types.js").UrlPath, action: import("./router/_types.js").RouteValue): void; }; addStatic: (url: import("./router/_types.js").UrlPath, path: string) => void; }