import type { Organization, User } from '../../types/dbTypes'; import type { ActionMap } from '../ActionMap'; interface AppConfigTypes { organization: Organization | null; user: User | null; /** Display timezone for sensor time rendering (non-persisted). */ displayTimeZone: string; /** True once the user picked a zone, so location defaults stop overriding it. */ displayTimeZoneUserSet: boolean; } export type AppConfigState = AppConfigTypes; export type AppConfigPayload = { ['SET_ORGANIZATION']: Pick; ['SET_USER']: Pick; ['SET_DISPLAY_TIME_ZONE']: { displayTimeZone: string; }; ['SET_DEFAULT_TIME_ZONE']: { displayTimeZone: string; }; }; export type AppConfigActions = ActionMap[keyof ActionMap]; export declare const AppConfigReducer: (state: AppConfigState, action: AppConfigActions) => AppConfigTypes; export {}; //# sourceMappingURL=reducer.d.ts.map