import { FunctionComponent } from 'react';
import { DataSet as DataSetType } from '../../../../shared-logic/src/DataSet/types';
import { AdditionalFilter } from '../../../../shared-logic/src/AdditionalFilter/types';
export declare type FilterInputPayload = {
    filter: AdditionalFilter;
    index?: number;
};
export declare const FiltersModal: FunctionComponent<{
    filters: AdditionalFilter[];
    dataSets: Array<DataSetType>;
    show: boolean;
    onClose: () => void;
    source: 'local' | 'global';
    onDeleteItem: (remainingFilters: AdditionalFilter[]) => void;
    onUpdate: (payload: FilterInputPayload) => void;
}>;
export declare function updateFilters(filters: AdditionalFilter[], payload: FilterInputPayload): AdditionalFilter[];
