import type { FastifyInstance } from 'fastify';
import { WsRooms } from './ws-rooms.js';
import type { ChatHandler } from '../bridge/chat-handler.js';
export interface WsContext {
    rooms: WsRooms;
    broadcastToSquad: (squadName: string, data: object) => void;
    broadcastToAll: (data: object) => void;
    setChatHandler: (handler: ChatHandler) => void;
    getChatHandler: () => ChatHandler | null;
}
export declare function registerWebSocket(app: FastifyInstance, jwtSecret: string, squadsDir?: string): Promise<WsContext>;
//# sourceMappingURL=ws-handler.d.ts.map