import type { FormControlProps } from '../../core/types/form-control-props.js'; import type { FormControlRef, TimeRangePickerRef } from '../shared-types.js'; import type { CalendarStrictValueType, CalendarValueType } from './Calendar.types.js'; import { DataTestId } from '../../core/types/data-props.js'; import { MaskingProps } from '../../core/types/masking-props.js'; import { StylingProps } from '../../core/types/styling-props.js'; /** * @internal */ export type CalendarType = 'single' | 'range'; /** @internal */ export type CalendarProps = FormControlProps, (date: CalendarStrictValueType) => void> & StylingProps & MaskingProps & DataTestId & { /** The earliest selectable date. It will always consider the start of the day as time. */ min?: string; /** The latest selectable date. It will always consider the end of the day as time. */ max?: string; /** Determines the calendar type. Single allows the selection of one date and range allows a range selection with a from and to value. * @defaultValue 'single' */ type?: Type; /** * The precision of the time shown in the display value. * @defaultValue 'minutes' */ precision?: 'minutes' | 'seconds' | 'milliseconds'; }; /** * Calendar component * Renders the calendar header and body depending on the current view * @internal */ export declare const CalendarRoot: (props: Omit, "value" | "defaultValue" | "onChange"> & import("react").RefAttributes | (Omit, "inputRef"> & Pick, "inputRef">)>) => import("react").ReactElement | null;