import Actions from '../actions'; import Store from '../store'; export declare type Action = Actions.FetchMoreRefinements | Actions.FetchMorePastPurchaseRefinements | Actions.ReceiveMoreRefinements | Actions.ReceiveMorePastPurchaseRefinements | Actions.FetchMoreProducts | Actions.ReceiveMoreProducts | Actions.FetchProductsWithoutHistory | Actions.FetchProducts | Actions.ReceiveProducts | Actions.FetchAutocompleteSuggestions | Actions.ReceiveAutocompleteSuggestions | Actions.FetchAutocompleteProducts | Actions.ReceiveAutocompleteProducts | Actions.FetchProductDetails | Actions.ReceiveDetails; export declare type State = Store.IsFetching; export declare const DEFAULT_FETCHING: { moreRefinements: boolean; moreProducts: boolean; search: boolean; autocompleteSuggestions: boolean; autocompleteProducts: boolean; details: boolean; }; export default function updateIsFetching(state: State, action: Action): State; export declare const startFetching: (state: Store.IsFetching, section: string) => { moreRefinements: boolean; moreProducts: boolean; search: boolean; autocompleteSuggestions: boolean; autocompleteProducts: boolean; details: boolean; }; export declare const doneFetching: (state: Store.IsFetching, section: string) => { moreRefinements: boolean; moreProducts: boolean; search: boolean; autocompleteSuggestions: boolean; autocompleteProducts: boolean; details: boolean; };