import { Server } from 'socket.io';
import type { FastifyInstance } from 'fastify';
/**
 * 获取 Socket.IO 实例
 */
export declare function getIO(): Server;
/**
 * 初始化 Socket.IO 服务
 */
export declare function initializeSocket(fastify: FastifyInstance): Promise<Server>;
/**
 * 关闭 Socket.IO 服务
 */
export declare function closeSocket(): Promise<void>;
export * from './events.js';
export { type AuthenticatedSocket } from './middleware/index.js';
//# sourceMappingURL=index.d.ts.map