import { components } from '../../../types/api';
import { DateRange } from '../../_filters/types';
export declare const setDateRangeValuesWithinMinMax: (filter: components["schemas"]["FilterDefinition"], startValue?: string, endValue?: string) => {
    start: string;
    end: string;
};
export declare const compareMin: (min: string, dateValue?: string) => string | undefined;
export declare const compareMax: (max: string, dateValue?: string) => string | undefined;
/**
 * Given the filter definition for a date-range with defaults
 * - will initialise the filter with correct start end dates
 * - if default relative range it will calc the correct start end dates
 *
 * @param {components['schemas']['FilterDefinition']} filter
 * @return {*}  {DateRange}
 */
export declare const getStartAndEndValueFromDefinition: (filter: components["schemas"]["FilterDefinition"]) => DateRange;
export declare function isDateRange(value: DateRange | string): value is DateRange;
declare const _default: {
    compareMax: (max: string, dateValue?: string) => string | undefined;
    compareMin: (min: string, dateValue?: string) => string | undefined;
    isDateRange: typeof isDateRange;
    setDateRangeValuesWithinMinMax: (filter: components["schemas"]["FilterDefinition"], startValue?: string, endValue?: string) => {
        start: string;
        end: string;
    };
    getStartAndEndValueFromDefinition: (filter: components["schemas"]["FilterDefinition"]) => DateRange;
};
export default _default;
