import React, { RefObject } from 'react'; declare type Dictionary = Record; export declare const initialState: FilterContextState; export declare type FilterContextActions = { handleSetTempValue: (id: K, tempValue: Filters[K]) => void; handlePopperClose: () => void; handleRemoveFilter: (id: string) => void; handleChangeFilter: (id: K, value: Filters[K]) => void; handleAddFilter: (id: K, initialValue: Filters[K]) => void; handleRemoveAllFilters: () => void; handleChipFilterClick: (id: string) => (el: HTMLElement) => void; setState: (state: Partial>) => void; tryOpenTipToApply: () => void; addChangeFilterListener: (callback: (id: string, isAdding: boolean, value: any) => void) => void; addRemoveFilterListener: (callback: (id: string) => void) => void; scrollbarsRef: RefObject<{}> | null; }; export declare type FilterContextState = { renderSplit: boolean; shouldOpenTipToApply: boolean; order: string[]; disabled: boolean; initialAppliedFilters: Partial; appliedFilters: Partial; shownFilters: Partial; tempFilters: Partial; anchorEl: HTMLElement | null; addChipRef: React.RefObject | null; openFilter: string; }; export declare const FilterContext: React.Context<{ handleSetTempValue: (id: K, tempValue: any) => void; handlePopperClose: () => void; handleRemoveFilter: (id: string) => void; handleChangeFilter: (id: K_1, value: any) => void; handleAddFilter: (id: K_2, initialValue: any) => void; handleRemoveAllFilters: () => void; handleChipFilterClick: (id: string) => (el: HTMLElement) => void; setState: (state: Partial>>) => void; tryOpenTipToApply: () => void; addChangeFilterListener: (callback: (id: string, isAdding: boolean, value: any) => void) => void; addRemoveFilterListener: (callback: (id: string) => void) => void; scrollbarsRef: RefObject<{}> | null; renderSplit: boolean; shouldOpenTipToApply: boolean; order: string[]; disabled: boolean; initialAppliedFilters: Partial>; appliedFilters: Partial>; shownFilters: Partial>; tempFilters: Partial>; anchorEl: HTMLElement | null; addChipRef: React.RefObject | null; openFilter: string; }>; export declare const useFilterContext: = Record>() => FilterContextState & FilterContextActions; export {}; //# sourceMappingURL=FilterContext.d.ts.map