/**
 * 全局状态统一出口。
 * 业务代码从这里或对应 Store 文件导入，避免散落的局部状态管理。
 */
export { useAppStore } from './app/appStore';
export { usePermissionStore } from './permission/permissionStore';
export { useSettingsStore } from './settings/settingsStore';
export { useUserStore } from './user/userStore';

export type { AppActions, AppPersistedState, AppState, AppStore, DockTab } from './app/appTypes';
export type {
  PermissionActions,
  PermissionPersistedState,
  PermissionState,
  PermissionStatus,
  PermissionStore,
} from './permission/permissionTypes';
export type { AiChatSettings, SettingsActions, SettingsState, SettingsStore } from './settings/settingsTypes';
export type { StoreStatus } from './types';
export type {
  UserActions,
  UserInfo,
  UserPersistedState,
  UserState,
  UserStore,
} from './user/userTypes';
