import { TextFieldProps } from '../../TextField'; import { YearlessDateMode, YearlessDate } from '../types'; export type MaskedYearlessDateInputChange = { event: React.ChangeEvent; value: YearlessDate | null; isInputValid: boolean; isInputEmpty: boolean; }; export type MaskedYearlessDateInputChangeHandler = (change: MaskedYearlessDateInputChange) => void; export type MaskedYearlessDateInputProps = Omit & { onChange: MaskedYearlessDateInputChangeHandler; mode?: YearlessDateMode; value?: YearlessDate | null; disableHint?: boolean; }; export type MaskedYearlessDateInput = HTMLInputElement & { setValue: (value: YearlessDate | null) => void; }; /** * A masked date input component that allows for the input of a date in a specific format. * * Provides a `setDate` method that can be used to set the date from outside the component (e.g from a calendar). * * @internal This component is not intended to be used directly in consumer code. * * @param props - The props for the MaskedDateInput component. * @param props.onChange - The function to call when the date changes. * @param props.mode - The mode of the date input. */ export declare const MaskedYearlessDateInput: import('react').ForwardRefExoticComponent & { onChange: MaskedYearlessDateInputChangeHandler; mode?: YearlessDateMode; value?: YearlessDate | null; disableHint?: boolean; } & import('react').RefAttributes>;