import { HTMLChakraProps, SlotRecipeProps, UnstyledProp } from '@chakra-ui/react/styled-system'; import { DateValue } from 'react-aria'; import { DateFieldProps as RaDateFieldProps } from 'react-aria-components'; type DateInputRecipeProps = { /** Size variant of the date input */ size?: SlotRecipeProps<"nimbusDateInput">["size"]; /** Visual style variant of the date input */ variant?: SlotRecipeProps<"nimbusDateInput">["variant"]; } & UnstyledProp; export type DateInputRootSlotProps = HTMLChakraProps<"div", DateInputRecipeProps>; export type DateInputLeadingElementSlotProps = HTMLChakraProps<"div">; export type DateInputTrailingElementSlotProps = HTMLChakraProps<"div">; type ExcludedProps = "validationState" | "label" | "description" | "errorMessage" | "css" | "colorScheme" | "unstyled" | "recipe" | "as" | "asChild"; export type DateInputProps = Omit | ExcludedProps> & Omit, ExcludedProps> & { /** Optional element to display at the start of the input */ leadingElement?: React.ReactNode; /** Optional element to display at the end of the input */ trailingElement?: React.ReactNode; }; export {};