import http from "node:http"; export interface NodeApiHostOptions { requestListener: http.RequestListener; createHub: (server: http.Server) => THub; } export interface NodeApiHost { server: http.Server; hub: THub; listen: (port: number, onListening?: () => void) => void; } export declare const createNodeApiHost: (options: NodeApiHostOptions) => NodeApiHost;