import { type MerchantLocationEntity } from '../entities/index.js'; import type { MerchantLocation } from '@farfetch/blackout-client'; import type { StoreState } from '../types/index.js'; /** * Returns the loading merchants locations status. * * @param state - Application state. * * @returns If merchants locations are loading or not. */ export declare const areMerchantsLocationsLoading: (state: StoreState) => boolean; /** * Returns the error of the merchants locations. * * @param state - Application state. * * @returns The merchants locations error. */ export declare const getMerchantsLocationsError: (state: StoreState) => import("@farfetch/blackout-client").BlackoutError | null; /** * Returns a specific merchant location by its id. * * @param state - Application state. * @param id - Merchant Location id. * * @returns - Merchant location. */ export declare const getMerchantLocation: (state: StoreState, id: MerchantLocationEntity['id']) => MerchantLocation | undefined; /** * Returns all merchants locations from state. * * @param state - Application state. * * @returns - Object with key values pairs representing merchant location id and merchant location * properties. */ export declare const getMerchantsLocations: (state: StoreState) => Record | undefined; /** * Returns all the merchants locations corresponding to the provided ids. * * @param state - Application state. * @param ids - Merchants locations ids. * * @returns Merchants locations of the provided ids. */ export declare const getMerchantsLocationsByIds: (state: StoreState, merchantLocationsIds: Array) => MerchantLocation[];