import { VoidFunc, VoidFuncNoParam } from "../../../fd-toolbox/functions/internal-getter-setter-functions";
export declare function webSocketEnsureConnected(userId: string): Promise<VoidFuncNoParam>;
export declare function webSocketGetId(): string;
export declare function webSocketSubscribe<T>(event: string, callback: VoidFunc<T>): void;
export declare function webSocketUnsubscribe<T>(event: string, callback: VoidFunc<T>): void;
