import { type AnyAction, type Reducer } from 'redux'; import type { LocaleState } from './types/index.js'; import type { StoreState } from '../types/index.js'; export declare const INITIAL_STATE_LOCALE: LocaleState; export declare const countriesAddressSchemas: (state?: any, action?: { type?: string | undefined; payload?: { error?: import("@farfetch/blackout-client").BlackoutError | undefined; result?: unknown; } | undefined; }) => any; export declare const getAreCountryStateCitiesLoading: (state: LocaleState) => LocaleState['cities']['isLoading']; export declare const getAreCountriesLoading: (state: LocaleState) => LocaleState['countries']['isLoading']; export declare const getAreCountryCurrenciesLoading: (state: LocaleState) => LocaleState['currencies']['isLoading']; export declare const getAreCountryStatesLoading: (state: LocaleState) => LocaleState['states']['isLoading']; export declare const getCountryStateCitiesError: (state: LocaleState) => LocaleState['cities']['error']; export declare const getCountriesError: (state: LocaleState) => LocaleState['countries']['error']; export declare const getCountryCode: (state: LocaleState) => LocaleState['countryCode']; export declare const getSubfolder: (state: LocaleState) => LocaleState['subfolder']; export declare const getSourceCountryCode: (state: LocaleState) => LocaleState['sourceCountryCode']; export declare const getCountryCurrenciesError: (state: LocaleState) => LocaleState['currencies']['error']; export declare const getCountryStatesError: (state: LocaleState) => LocaleState['states']['error']; export declare const getCountriesAddressSchemas: (state: LocaleState) => LocaleState['countriesAddressSchemas']; export declare const entitiesMapper: { "@farfetch/blackout-redux/FETCH_COUNTRY_ADDRESS_SCHEMAS_SUCCESS": (state: StoreState['entities'], action: AnyAction) => StoreState['entities']; }; /** * Reducer for locale state. * * @param state - Current redux state. * @param action - Action dispatched. * * @returns New state. */ declare const localeReducer: Reducer; export default localeReducer;