import * as _nextui_org_system from '@nextui-org/system'; import { PropGetter, HTMLNextUIProps } from '@nextui-org/system'; import { AriaRadioProps } from '@react-types/radio'; import { RadioVariantProps, SlotsToClasses, RadioSlots } from '@nextui-org/theme'; import { ReactNode, Ref } 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: _nextui_org_system.As; children: ReactNode; isSelected: boolean; isDisabled: boolean; isInvalid: boolean | undefined; isFocusVisible: boolean; description: ReactNode; getBaseProps: PropGetter, _nextui_org_system.DOMAttributes<_nextui_org_system.DOMElement>>; getWrapperProps: PropGetter, _nextui_org_system.DOMAttributes<_nextui_org_system.DOMElement>>; getInputProps: PropGetter, _nextui_org_system.DOMAttributes<_nextui_org_system.DOMElement>>; getLabelProps: PropGetter, _nextui_org_system.DOMAttributes<_nextui_org_system.DOMElement>>; getLabelWrapperProps: PropGetter, _nextui_org_system.DOMAttributes<_nextui_org_system.DOMElement>>; getControlProps: PropGetter, _nextui_org_system.DOMAttributes<_nextui_org_system.DOMElement>>; getDescriptionProps: PropGetter, _nextui_org_system.DOMAttributes<_nextui_org_system.DOMElement>>; }; type UseRadioReturn = ReturnType; export { UseRadioProps, UseRadioReturn, useRadio };