import type { CalendarStrictValueType, CalendarValueType } from './Calendar.types.js'; import { MaskingProps } from '../../core/types/masking-props.js'; import { StylingProps } from '../../core/types/styling-props.js'; import type { FormControlRef, TimeRangePickerRef } from '../shared-types.js'; import { DataTestId } from '../../core/types/data-props.js'; import type { FormControlProps } from '../../core/types/form-control-props.js'; import type { MessageTarget } from '../validation/message-routing.js'; /** * @internal */ export type CalendarType = 'single' | 'range'; /** @internal */ export type CalendarProps = FormControlProps, (date: CalendarStrictValueType) => void, HTMLDivElement> & 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'; /** * Internal: associates this control with a `_Form` rendered outside its * React subtree via the native `form` attribute. Unstable. * @internal */ _form?: string; /** * Internal: routes this control's native/Strato validation messages to the * field outlet (default), the enclosing form's outlet, or both. Unstable. * @internal */ _messageTarget?: MessageTarget | MessageTarget[]; }; /** * Calendar component * Renders the calendar header and body depending on the current view * @internal */ export declare const CalendarRoot: (props: Omit, "defaultValue" | "onChange" | "value"> & import("react").RefAttributes | (Omit, "inputRef"> & Pick, "inputRef">)>) => import("react").ReactElement | null; //# sourceMappingURL=CalendarRoot.d.ts.map