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