UNPKG

mattermost-redux

Version:

Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client

27 lines (26 loc) 1.35 kB
import type { UserProfile } from '@mattermost/types/users'; export declare const getTimezoneForUserProfile: import("mattermost-redux/selectors/create_selector").OutputSelector<UserProfile, { useAutomaticTimezone: boolean; automaticTimezone: string; manualTimezone: string; }, (res: UserProfile) => { useAutomaticTimezone: boolean; automaticTimezone: string; manualTimezone: string; }>; export declare const getCurrentTimezoneFull: import("mattermost-redux/selectors/create_selector").OutputSelector<import("@mattermost/types/store").GlobalState, { useAutomaticTimezone: boolean; automaticTimezone: string; manualTimezone: string; }, (res: UserProfile) => { useAutomaticTimezone: boolean; automaticTimezone: string; manualTimezone: string; }>; export declare const getCurrentTimezone: import("mattermost-redux/selectors/create_selector").OutputSelector<import("@mattermost/types/store").GlobalState, string, (res: { useAutomaticTimezone: boolean; automaticTimezone: string; manualTimezone: string; }) => string>; export declare function generateCurrentTimezoneLabel(timezone: string): string; export declare const getCurrentTimezoneLabel: import("mattermost-redux/selectors/create_selector").OutputSelector<import("@mattermost/types/store").GlobalState, string, (res: string) => string>;