import { Dispatch, FunctionComponent, SetStateAction } from 'react';
import { TextOverride } from '../../../../shared-logic/src/Translations/types';
import { QueryEngineConfig } from '../../../../shared-logic/src/QueryEngineConfig/types';
import { DataSet } from '../../../../shared-logic/src/DataSet/types';
import { DateRangePickerState, RelativeRangeState } from './CustomRangePicker';
export declare const RelativeRange: FunctionComponent<{
    textOverride?: TextOverride;
    onClearAll: () => void;
    onCancel: () => void;
    onApply: () => void;
    queryEngineConfig: QueryEngineConfig;
    data: DataSet[];
    relative?: RelativeRangeState;
    setState: Dispatch<SetStateAction<DateRangePickerState>>;
}>;
