import { type EnsuredHubWebSocketServerResult, type EnsureHubWebSocketServerOptions, type HubWebSocketServer, type HubWebSocketServerOptions } from "../server"; export type HubServer = HubWebSocketServer; export type EnsureHubServerResult = EnsuredHubWebSocketServerResult; export interface StartHubServerOptions extends Omit { } export interface EnsureHubServerOptions extends Omit { } /** * Start a hub WebSocket server bound to the default owner context for the * current build environment. Callers that need a custom owner should invoke * {@link startHubWebSocketServer} directly. */ export declare function startHubServer(options: StartHubServerOptions): Promise; /** * Ensure a hub WebSocket server is running in the default owner context for the * current build environment, reusing a compatible in-process instance when available. */ export declare function ensureHubServer(options: EnsureHubServerOptions): Promise;