/**
 * 状态管理 Store 导出
 */

export { useAuthStore, useCurrentUser, useIsAuthenticated, useAuthLoading } from './authStore';
export {
  useUserStore,
  usePosts,
  useNotifications,
  useNotificationBadge,
  useMessageUnreadCount,
  useSearchHistory
} from './userStore';

// MessageManager 新架构导出（已替换 conversationStore）
export { messageManager } from './messageManager';
export type { MessageEvent, MessageEventType, MessageSubscriber } from './messageManager';
export { postManager } from './postManager';
export { groupManager } from './groupManager';
export { userManager } from './userManager';
export {
  useConversations as useMessageManagerConversations,
  useMessages,
  useSendMessage,
  useMarkAsRead,
  useUnreadCount,
  useTotalUnreadCount,
  useConversation as useMessageManagerConversation,
  useMessageManager,
  useChat,
  useMessageList,
  useMessageListRefresh,
  useCreateConversation,
  useUpdateConversation,
  useSystemUnreadCount as useMessageManagerSystemUnreadCount,
  useGroupTyping,
  useGroupMuted,
} from './messageManagerHooks';
