import { OmitInternalProps } from '../../type-utils/omit-props'; import { HTMLChakraProps, SlotRecipeProps } from '@chakra-ui/react/styled-system'; import { AriaCheckboxProps } from 'react-aria'; type SwitchRecipeProps = SlotRecipeProps<"nimbusSwitch">; export type SwitchRootSlotProps = HTMLChakraProps<"label", SwitchRecipeProps>; export type SwitchLabelSlotProps = HTMLChakraProps<"span">; export type SwitchTrackSlotProps = HTMLChakraProps<"span">; export type SwitchThumbSlotProps = HTMLChakraProps<"span">; type ExcludedSwitchProps = "isIndeterminate" | "colorScheme" | "validationState" | "validationBehavior" | "validate"; export type SwitchProps = OmitInternalProps & Omit & { /** * The label content to display next to the switch */ children?: React.ReactNode; /** * Ref forwarding to the input element */ ref?: React.Ref; }; export {};