import { ValidatorFn } from '@angular/forms'; import { DateValue } from '@internationalized/date'; /** * Validator for a DateValue to be within a range (closed or open). * Can also be used to validate a RangeValue against a range. */ export declare function createDateRangeValidator({ minValue, maxValue, }: { minValue?: DateValue; maxValue?: DateValue; }): ValidatorFn; /** * Custom validator to determine if a value is valid or not. * Can also be used to validate a RangeValue. In * such case both the start and end dates must pass validation. */ export declare function createCustomDateValidator({ isDateUnavailable, }: { isDateUnavailable?: (value: DateValue) => boolean; }): ValidatorFn; /** * Validator for controls that work with a value of type RangeValue. * This validates that the date range is not absurd (eg. start date is after * end date). */ export declare function createDateRangeSanityValidator(): ValidatorFn;