import { DateAndTimeFilter, DateFilter as DateFilterType } from '../../../../../shared-logic/src/AdditionalFilter/types';
import { DashboardBehaviour } from '../../../contexts/DashboardBehaviour/types';
import { DataSet } from '../../../../../shared-logic/src/DataSet/types';
import * as FilterType from '../../../../../shared-logic/src/AdditionalFilter/constants';
import { FunctionComponent } from 'react';
/**
 * Used by global and local filters to provide a way of editing
 * date time filters
 */
export declare const DateFilter: FunctionComponent<{
    filter: DateFilterType | DateAndTimeFilter;
    onChange: (additionalFilter: DateFilterType | DateAndTimeFilter) => void;
    dateFilterOptions: DashboardBehaviour['dateFilterOptions'];
    dataSets: DataSet[];
    showClearBtn?: boolean;
    type: typeof FilterType.DATE_FILTER;
    onOpenChange?: (open: boolean) => void;
}>;
