import { type Reducer } from 'redux'; import type { BlackoutError } from '@farfetch/blackout-client'; import type { CategoriesState } from '../types/index.js'; export declare const INITIAL_STATE: CategoriesState; export declare const getError: (state: CategoriesState) => BlackoutError | null; export declare const getIsLoading: (state: CategoriesState) => boolean; export declare const getResult: (state: CategoriesState) => number[] | null; /** * Reducer for categories state. * * @param state - Current redux state. * @param action - Action dispatched. * * @returns New state. */ declare const categoriesReducer: Reducer; export default categoriesReducer;