import { type Reducer } from 'redux'; import type { RecentlyViewedState } from '../types/index.js'; export declare const INITIAL_STATE: RecentlyViewedState; export declare const getError: (state?: RecentlyViewedState) => RecentlyViewedState['error']; export declare const getIsLoading: (state?: RecentlyViewedState) => RecentlyViewedState['isLoading']; export declare const getResult: (state?: RecentlyViewedState) => RecentlyViewedState['result']; /** * Reducer for recently viewed state. * * @param state - Current redux state. * @param action - Action dispatched. * * @returns New state. */ declare const recentlyViewedReducer: Reducer; export default recentlyViewedReducer;