/** * MUI Date Field Component (Controlled Component) * * This is a controlled component that receives value and change handlers from parent. * It does NOT use form context and should be connected to a form via props. * Uses traditional label layout (FormControl + FormLabel) instead of floating labels. */ import type { DateView, PickerVariant } from '@galaxy-dev/metadsl-core'; import { Dayjs } from 'dayjs'; import { type BaseFieldProps } from '@galaxy-dev/metadsl-runtime'; export interface DateFieldProps extends BaseFieldProps { minDate?: string | Date; maxDate?: string | Date; format?: string; views?: DateView[]; openTo?: DateView; disablePast?: boolean; disableFuture?: boolean; shouldDisableDate?: (date: Dayjs) => boolean; readOnly?: boolean; value?: any; /** * Picker variant: 'desktop' forces the desktop popper picker (useful when * the form is hosted inside a Shadow DOM where the native mobile picker * breaks), 'mobile' forces the mobile picker, 'auto' (default) is responsive */ pickerVariant?: PickerVariant; } export declare function DateField(props: DateFieldProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=DateField.d.ts.map