/** * This is a hook providing the Current User language. * * @example * import { useCurrentUserLanguage } from "@trackunit/react-core-hooks"; * const { language, setLanguage } = useCurrentUserLanguage(); * * language: Gets the language setting of the current user. * setLanguage: Sets the language setting of the current user. * @see { CurrentUserPreferenceState} */ export declare const useCurrentUserLanguage: () => { language: string | undefined; setLanguage: ((language: string) => void) | undefined; }; /** * This is a hook providing the Current User TimeZone Preference. * * @example * import { useCurrentUserTimeZonePreference } from "@trackunit/react-core-hooks"; * const { timeZonePreference, setTimeZonePreference } = useCurrentUserTimeZonePreference(); * * timeZonePreference: Determines if the user has a timezone preference of "CUSTOM_TIME_ZONE" | "LOCAL_TIME_ZONE" | "MACHINE_TIME_ZONE" * setTimeZonePreference: Sets the timezone preference of the current user. * @see { CurrentUserPreferenceState} */ export declare const useCurrentUserTimeZonePreference: () => { timeZonePreference: import("@trackunit/iris-app-runtime-core-api").TimeZonePreferenceType | undefined; setTimeZonePreference: ((timeZonePreference: import("@trackunit/iris-app-runtime-core-api").TimeZonePreferenceType) => void) | undefined; customTimezone: string | null | undefined; }; /** * This is a hook providing the Current User language. * * @example * import { useCurrentUserSystemOfMeasurement } from "@trackunit/react-core-hooks"; * const { systemOfMeasurement, setSystemOfMeasurement } = useCurrentUserSystemOfMeasurement(); * * systemOfMeasurement: Gets the system of measurement setting of the current user. "SI" | "US_CUSTOMARY" * setSystemOfMeasurement: Sets the system of measurement setting of the current user. * @see { CurrentUserPreferenceState} */ export declare const useCurrentUserSystemOfMeasurement: () => { systemOfMeasurement: import("@trackunit/iris-app-runtime-core-api").SystemOfMeasurementType | null; setSystemOfMeasurement: ((systemOfMeasurement: import("@trackunit/iris-app-runtime-core-api").SystemOfMeasurementType) => void) | undefined; }; /** * This is a hook providing the Current User Time Format preference. * * @example * import { useCurrentUserTimeFormat } from "@trackunit/react-core-hooks"; * const { timeFormat, setTimeFormat } = useCurrentUserTimeFormat(); * * timeFormat: Gets the time format preference of the current user. "LANGUAGE_DEFAULT" | "TWELVE_HOUR" | "TWENTY_FOUR_HOUR" * setTimeFormat: Sets the time format preference of the current user. * @see { CurrentUserPreferenceState} */ export declare const useCurrentUserTimeFormat: () => { timeFormat: import("@trackunit/iris-app-runtime-core-api").TimeFormatType | null; setTimeFormat: ((timeFormat: import("@trackunit/iris-app-runtime-core-api").TimeFormatType) => void) | undefined; }; /** * This is a hook providing the Current User Favorite Insights. * * @example * import { useCurrentUserFavoriteInsights } from "@trackunit/react-core-hooks"; * const { favoriteInsights, setFavoriteInsights } = useCurrentUserFavoriteInsights(); * * favoriteInsights: Gets the favorite insights of the current user. * setFavoriteInsights: Sets the favorite insights of the current user. * @see { CurrentUserPreferenceState} */ export declare const useCurrentUserFavoriteInsights: () => { favoriteInsights: string[] | null; setFavoriteInsights: ((favoriteInsights: Array) => void) | undefined; }; /** * This is a hook providing the Current User Favorite Advanced Sensors. * * @example * import { useCurrentUserFavoriteAdvancedSensors } from "@trackunit/react-core-hooks"; * const { favoriteAdvancedSensors, setFavoriteAdvancedSensors } = useCurrentUserFavoriteAdvancedSensors(); * * favoriteAdvancedSensors: Gets the favorite advanced sensors of the current user. * setFavoriteAdvancedSensors: Sets the favorite advanced sensors of the current user. * @see { CurrentUserPreferenceState} */ export declare const useCurrentUserFavoriteAdvancedSensors: () => { favoriteAdvancedSensors: string[] | null; setFavoriteAdvancedSensors: ((favoriteAdvancedSensors: Array) => void) | undefined; };