import { FC } from 'react'; import { TextFieldProps } from '../TextField'; import { CalendarDatesDisabled } from '../Calendar'; export interface DateFieldProps extends TextFieldProps { /** * Date format pattern used for input masking and parsing. * Defines the order of date segments. * * Examples: * - "dd.MM.yyyy" * - "MM/dd/yyyy" * - "yyyy-MM-dd" */ format: string; /** * Character used to separate date segments in the input. * * Examples: * - "." * - "/" * - "-" */ separator: string; /** * Minimum allowed date. * Dates earlier than this value cannot be selected * and will be clamped or rejected during input parsing. */ min?: Date; /** * Maximum allowed date. * Dates later than this value cannot be selected * and will be clamped or rejected during input parsing. */ max?: Date; /** * Rules for disabling specific dates in the calendar. * Can be used to block ranges, weekdays, or custom conditions. */ disabledDates?: CalendarDatesDisabled; /** * Disables the field. * Prevents user input and interaction, and applies the disabled visual state. */ disabled?: boolean; } /** * DateField — a high-level date input component that combines a masked text * input with a calendar picker under a single TextField interface. * * Purpose: * Provides a user-friendly way to enter dates either by typing or by selecting * from a calendar, while keeping both representations synchronized. * * This component acts as the coordination layer between the visual TextField, * date parsing/formatting logic, and the interactive calendar UI. */ export declare const DateField: FC;