import { Locale } from 'decentraland-ui/dist/components/Language/Language'; import { LoadingState } from '../loading/reducer'; import { ChangeLocaleAction, FetchTranslationsFailureAction, FetchTranslationsRequestAction, FetchTranslationsSuccessAction } from './actions'; import { Translation } from './types'; export type TranslationState = { data: Translation; locale: Locale; loading: LoadingState; error: string | null; }; export declare const INITIAL_STATE: TranslationState; export type TranslationReducerAction = ChangeLocaleAction | FetchTranslationsRequestAction | FetchTranslationsSuccessAction | FetchTranslationsFailureAction; export declare function translationReducer(state: TranslationState | undefined, action: TranslationReducerAction): TranslationState;