import * as _heroui_system from '@heroui/system'; import { HTMLHeroUIProps, PropGetter } from '@heroui/system'; import { AriaRadioProps } from '@react-types/radio'; import { RadioVariantProps, SlotsToClasses, RadioSlots } from '@heroui/theme'; import { Ref, ReactNode } from 'react'; interface Props extends Omit, keyof RadioVariantProps> { /** * Ref to the DOM node. */ ref?: Ref; /** * The label of the checkbox. */ children?: ReactNode; /** * The radio description text. */ description?: string | ReactNode; /** * Classname or List of classes to change the classNames of the element. * if `className` is passed, it will be added to the base slot. * * @example * ```ts * * ``` */ classNames?: SlotsToClasses; } type UseRadioProps = Omit & Omit & RadioVariantProps; declare function useRadio(props: UseRadioProps): { Component: _heroui_system.As; children: ReactNode; isSelected: boolean; isDisabled: boolean; isInvalid: boolean | undefined; isFocusVisible: boolean; description: ReactNode; getBaseProps: PropGetter; getWrapperProps: PropGetter; getInputProps: PropGetter; getLabelProps: PropGetter; getLabelWrapperProps: PropGetter; getControlProps: PropGetter; getDescriptionProps: PropGetter; }; type UseRadioReturn = ReturnType; export { type UseRadioProps, type UseRadioReturn, useRadio };