import { ValidatorFn } from '@angular/forms';
/**
 * @description
 * Validator that requires the min / max of start and / or end values.
 *
 * @usageNotes
 * ```typescript
 * const slider = new FormControl<IEuiSliderValues>({ start: 10, end: 50 }, [sliderValidator({ startMin: 5, startMax: 50, endMin: 30, endMax: 90 })]),
 * console.log(slider.errors); // null
 *
 * const slider = new FormControl<IEuiSliderValues>({ start: 0, end: 50 }, [sliderValidator({ startMin: 5, startMax: 50, endMin: 30, endMax: 90 })]),
 * console.log(slider.errors); // { startMin: { required: 5, actual: 0 } }
 *
 * const slider = new FormControl<IEuiSliderValues>({ start: 60, end: 80 }, [sliderValidator({ startMin: 5, startMax: 50, endMin: 30, endMax: 90 })]),
 * console.log(slider.errors); // { startMax: { required: 50, actual: 60 } }
 *
 * const slider = new FormControl<IEuiSliderValues>({ start: 10, end: 20 }, [sliderValidator({ startMin: 5, startMax: 50, endMin: 30, endMax: 90 })]),
 * console.log(slider.errors); // { endMin: { required: 30, actual: 20 } }
 *
 * const slider = new FormControl<IEuiSliderValues>({ start: 10, end: 100 }, [sliderValidator({ startMin: 5, startMax: 50, endMin: 30, endMax: 90 })]),
 * console.log(slider.errors); // { endMax: { required: 90, actual: 100 } }
 * ```
 *
 * @returns A validator function that returns an error map with `startMin` /  `startMax` /  `endMin` /  `endMax` if the validation check fails, otherwise `null`.
 */
export declare function sliderValidator(config: {
    startMin?: number;
    startMax?: number;
    endMin?: number;
    endMax?: number;
}): ValidatorFn;
//# sourceMappingURL=eui-slider.validator.d.ts.map