import type { EnsuredHubWebSocketServerResult, EnsureHubWebSocketServerOptions, HubWebSocketServer, HubWebSocketServerOptions } from "./hub-server-options"; export { truncateNotificationBody } from "./hub-notifications"; export type { EnsuredHubWebSocketServerResult, EnsureHubWebSocketServerOptions, HubWebSocketServer, HubWebSocketServerOptions, } from "./hub-server-options"; export { HubServerTransport } from "./hub-server-transport"; export declare function readBearerToken(value: string | string[] | undefined): string | null; /** @internal Exported for websocket auth tests. */ export declare function isLocalHubHostName(value: string): boolean; /** @internal Exported for websocket auth tests. */ export declare function isLocalHubOrigin(value: string | string[] | undefined): boolean; export declare function startHubWebSocketServer(options: HubWebSocketServerOptions): Promise; export declare function ensureHubWebSocketServer(options: EnsureHubWebSocketServerOptions): Promise;