import WS from 'ws';
import { F as Factory } from '../../core-B5yKYkMJ.mjs';
import { R as RpcCtx, a as RpcServerOptions } from '../../types-7-m2wEkP.mjs';
import 'phecda-core';
import '../../meta-C_eDyXnK.mjs';

interface WsCtx extends RpcCtx {
    type: 'ws';
    ws: WS;
    wss: WS.Server;
}
declare function bind(wss: WS.Server, data: Awaited<ReturnType<typeof Factory>>, opts?: RpcServerOptions): void;

export { type WsCtx, bind };
