/** * Hooks 导出 */ // ==================== 新的响应式 Hooks (推荐) ==================== export { // 核心 hooks useBreakpoint, useFineBreakpoint, useBreakpointGTE, useBreakpointLT, useBreakpointBetween, useScreenSize, useWindowDimensions, useOrientation, usePlatform, useMediaQuery, useResponsiveValue, useResponsiveStyle, useColumnCount, useResponsiveSpacing, // 兼容层 useResponsive, useLegacyResponsive, // 工具函数 getBreakpoint, getFineBreakpoint, isBreakpointGTE, isBreakpointLT, isBreakpointBetween, // 常量 BREAKPOINTS, FINE_BREAKPOINTS, } from '../presentation/hooks/responsive'; export type { BreakpointKey, FineBreakpointKey, BreakpointValue, ResponsiveValue, Orientation, PlatformInfo, ScreenSize, MediaQueryOptions, // 兼容层类型 ResponsiveInfo, } from '../presentation/hooks/responsive'; // ==================== 旧版响应式 Hooks (保持向后兼容) ==================== // 注意:这些导出将在未来版本中移除,请使用新的 hooks export { BREAKPOINTS as BREAKPOINTS_OLD, FINE_BREAKPOINTS as FINE_BREAKPOINTS_OLD, } from './useResponsive'; export type { ResponsiveInfo as ResponsiveInfo_OLD, BreakpointKey as BreakpointKey_OLD, BreakpointValue as BreakpointValue_OLD, FineBreakpointKey as FineBreakpointKey_OLD, ResponsiveValue as ResponsiveValue_OLD, } from './useResponsive'; // ==================== 其他 Hooks ==================== export { usePrefetch, prefetchPosts, prefetchConversations, prefetchUserInfo, prefetchOnAppLaunch, prefetchMessageScreen, prefetchHomeScreen, } from './usePrefetch';