import { DataTrackingId, IanaZone } from '../../types';
import { MaskedDateInputProps } from './internal/MaskedDateInput';
import { DateMode } from './types';
export type DateFieldSingleProps = Omit<MaskedDateInputProps, "onChange" | "value" | "autoComplete" | "onClick" | "onKeyDown" | "ref" | "lastValidDate" | "setLastValidDate" | "required" | "onFocus" | "onBlur"> & {
    value?: string | null;
    defaultValue?: string | null;
    onChange?: DateFieldSingleChangeHandler;
    onFocus?: (event: React.FocusEvent) => void;
    onBlur?: (event: React.FocusEvent) => void;
    mode?: Extract<DateMode, "mm/dd/yyyy" | "dd/mm/yyyy">;
    disableHint?: boolean;
    disableCalendar?: boolean;
    unavailable?: {
        /**
         * The specific dates that are unavailable. ISO 8601 format.
         * @example ["2025-07-02"]
         */
        dates?: string[];
        /**
         * The days of the week that are unavailable.
         * (1-7, where 1 is Monday and 7 is Sunday)
         */
        daysOfWeek?: (1 | 2 | 3 | 4 | 5 | 6 | 7)[];
    };
    minDate?: string;
    maxDate?: string;
    required?: boolean;
    /**
     * The IANA timezone to use for the calendar. Controls the meaning of the "Today"
     * button and which month/year is initially displayed. When the timezone differs
     * from the user's locale timezone, a disambiguation message is shown below the calendar.
     * @example "America/Los_Angeles"
     */
    timezone?: IanaZone;
} & DataTrackingId;
export type DateFieldSingleChange = {
    /**
     * The date in ISO 8601 format.
     * @example "2025-07-02"
     */
    date: string | null;
    /**
     * Whether the input is valid. That is, it matches the format and is not empty.
     * This does not mean that the date is valid according to the constraints.
     */
    isInputValid: boolean;
    /**
     * Whether the input is empty.
     */
    isInputEmpty: boolean;
    /**
     * Whether the date is valid according to the constraints.
     * Constraints include:
     * - Required
     * - Unavailable dates
     * - Unavailable days of the week
     * - Min date
     * - Max date
     */
    isDateValid: boolean;
};
export type DateFieldSingleChangeHandler = (change: DateFieldSingleChange) => void;
export declare const DateFieldSingle: {
    (props: DateFieldSingleProps): import("react/jsx-runtime").JSX.Element;
    displayName: string;
};
