import React from 'react'; import { SearchPopperListOption } from '../SearchPopper/List'; import { FilterContext } from './FilterContext'; export declare type BaseProps = { /** * Set filter as a main filter on add filter listed first */ isMain?: boolean; defaultValue?: T; filterAddOption: SearchPopperListOption; onChange?: (value: T, ev?: React.SyntheticEvent) => void; popperClasses?: { [index in keyof P]: string; }; chipClasses?: Partial<{ noChanges: string; hasChanges: string; chip: string; }>; }; export declare abstract class BaseFilter

, T, S = {}> extends React.Component { static contextType: 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: React.RefObject<{}>; renderSplit: boolean; shouldOpenTipToApply: boolean; order: string[]; disabled: boolean; initialAppliedFilters: Partial>; appliedFilters: Partial>; shownFilters: Partial>; tempFilters: Partial>; anchorEl: HTMLElement; addChipRef: React.RefObject; openFilter: string; }>; context: React.ContextType; static defaultProps: Partial>; get isOpen(): boolean; get value(): T; get tempValue(): any; get initialValue(): T; get hasInitialFilters(): boolean; openPopper: (e: React.MouseEvent) => void; closePopper: (temp?: any) => void; resetTempValue: () => void; onChange: (value: T, ev: React.SyntheticEvent) => void; onReset: () => void; } //# sourceMappingURL=BaseFilter.d.ts.map