import type { StoreState } from '../../types/index.js'; /** * Retrieves the error status of configurations. * * @example * ``` * import { getConfigurationsError } from '@farfetch/blackout-redux'; * * const mapStateToProps = state => ({ * error: getConfigurationsError(state) * }); * ``` * * @param state - Application state. * * @returns Error information (`null` if there are no errors). */ export declare const getConfigurationsError: (state: StoreState) => import("@farfetch/blackout-client").BlackoutError | null; /** * Retrieves the loading state of configurations. * * @example * ``` * import { areConfigurationsLoading } from '@farfetch/blackout-redux'; * * const mapStateToProps = state => ({ * isLoading: areConfigurationsLoading(state) * }); * ``` * * @param state - Application state. * * @returns - Loading status of configurations. */ export declare const areConfigurationsLoading: (state: StoreState) => boolean; /** * Returns the fetched status of configurations. * * @example * ``` * import { areConfigurationsFetched } from '@farfetch/blackout-redux'; * * const mapStateToProps = state => ({ * areConfigurationsFetched: areConfigurationsFetched(state) * }); * ``` * * @param state - Application state. * * @returns - If configurations are fetched or not. */ export declare const areConfigurationsFetched: (state: StoreState) => boolean; /** * Retrieves a list of all the configurations available. * * @example * ``` * import { getConfigurations } from '@farfetch/blackout-redux'; * * const mapStateToProps = state => ({ * configurations: getConfigurations(state) * }); * ``` * * @param state - Application state. * * @returns - Configurations. */ export declare const getConfigurations: (state: StoreState) => Record | undefined;