2025-12-25 13:57:57 +00:00
|
|
|
/**
|
|
|
|
|
* Hooks exports
|
|
|
|
|
* FE-TYPE-012: Export all hook types for better type safety
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
// Hook implementations
|
|
|
|
|
export { useAuth } from './useAuth';
|
|
|
|
|
export { useTranslation } from './useTranslation';
|
|
|
|
|
export { useToast } from './useToast';
|
2026-01-15 19:06:30 +00:00
|
|
|
export { useFormValidation } from './useFormValidation';
|
|
|
|
|
export type {
|
|
|
|
|
UseFormValidationReturn,
|
|
|
|
|
UseFormValidationOptions,
|
|
|
|
|
ValidationError,
|
|
|
|
|
} from './useFormValidation';
|
2025-12-25 13:57:57 +00:00
|
|
|
export { useLocalStorage } from './useLocalStorage';
|
|
|
|
|
export { useDebounce } from './useDebounce';
|
|
|
|
|
export { useIntersectionObserver } from './useIntersectionObserver';
|
|
|
|
|
export { useOnlineStatus } from './useOnlineStatus';
|
|
|
|
|
export { usePWA, usePWAInstallBanner, useOfflineDetection } from './usePWA';
|
|
|
|
|
export { useKeyboardNavigation } from './useKeyboardNavigation';
|
|
|
|
|
export { useGlobalKeyboardShortcuts } from './useGlobalKeyboardShortcuts';
|
|
|
|
|
export { usePreload, usePreloadRoute } from './usePreload';
|
|
|
|
|
|
|
|
|
|
// Hook types
|
|
|
|
|
export type {
|
|
|
|
|
UseAuthReturn,
|
|
|
|
|
UseTranslationReturn,
|
|
|
|
|
UseToastReturn,
|
|
|
|
|
UseChatReturn,
|
|
|
|
|
UsePWAReturn,
|
|
|
|
|
UsePWAInstallBannerReturn,
|
|
|
|
|
UseOfflineDetectionReturn,
|
|
|
|
|
} from './types';
|
|
|
|
|
|
|
|
|
|
// Toast type
|
|
|
|
|
export type { Toast } from './useToast';
|