import { TimeFieldProps as RaTimeFieldProps } from 'react-aria-components'; import { TimeValue } from 'react-aria'; import { HTMLChakraProps, SlotRecipeProps, UnstyledProp } from '@chakra-ui/react/styled-system'; type TimeInputRecipeProps = { /** Size variant of the time input */ size?: SlotRecipeProps<"nimbusTimeInput">["size"]; /** Visual style variant of the time input */ variant?: SlotRecipeProps<"nimbusTimeInput">["variant"]; } & UnstyledProp; export type TimeInputRootSlotProps = HTMLChakraProps<"div", TimeInputRecipeProps>; export type TimeInputLeadingElementSlotProps = HTMLChakraProps<"div", TimeInputRecipeProps>; export type TimeInputTrailingElementSlotProps = HTMLChakraProps<"div", TimeInputRecipeProps>; type ConflictingFieldStateProps = keyof RaTimeFieldProps; type ExcludedProps = "validationState" | "label" | "description" | "errorMessage" | "css" | "colorScheme" | "unstyled" | "recipe" | "as" | "asChild"; export type TimeInputProps = Omit & 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 {};