/** * A React hook that provides real-time timezone information and automatically updates * when the device timezone changes. * * This hook addresses timezone-related issues in Hermes JavaScript engine by: * - Providing the current timezone name * - Listening for timezone changes and updating the state accordingly * - Properly cleaning up event subscriptions to prevent memory leaks * * @returns An object containing the current timezone information * @returns returns.currentTimezone - The name of the current device timezone (e.g., "America/New_York") * * @example * ```tsx * import { useTimezoneHermesFix } from './useTimezoneHermesFix'; * * function MyComponent() { * const { currentTimezone } = useTimezoneHermesFix(); * * return ( * Current timezone: {currentTimezone} * ); * } * ``` */ declare const useTimezoneHermesFix: () => { currentTimezone: string; }; export { useTimezoneHermesFix }; //# sourceMappingURL=useTimezoneHermesFix.d.ts.map