import * as react from 'react'; import { ReactNode, ChangeEventHandler, ChangeEvent, ComponentProps } from 'react'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { OmitInternalProps } from '../../shared/src/types.js'; import { ResponsiveProp } from '../../styling/src/useResponsiveValue.js'; import { AbstractInputProps } from '../../input/src/types.js'; import '../../styling/src/styled-system/props-handler.js'; import 'csstype'; import '../../shared/src/type-fest.js'; import '../../styling/src/styled-system/StylingContext.js'; import '../../styling/src/BreakpointProvider.js'; import '../../group/src/Group.js'; import '../../layout/src/Flex.js'; declare const DefaultElement = "label"; interface InnerRadioProps extends Omit, "onChange"> { /** * A controlled checked state value. */ checked?: boolean | null; /** * React children. */ children: ReactNode; /** * The initial value of `checked` when uncontrolled. */ defaultChecked?: boolean; /** * @ignore */ disabled?: boolean; /** * @ignore */ name?: string; /** * Called when the radio checked state change. * @param {ChangeEvent} event - React's original synthetic event. * @returns {void} */ onChange?: ChangeEventHandler; /** * Called when the radio checked state change. * @param {ChangeEvent} event - React's original synthetic event. * @param {boolean} isChecked - Whether or not the radio is checked. * @returns {void} */ onValueChange?: (event: ChangeEvent, isChecked: boolean) => void; /** * Invert the order of the checkmark box and the label. */ reverse?: boolean; /** * A radio button can vary in size. */ size?: ResponsiveProp<"sm" | "md">; /** * The value to associate with when in a group. */ value?: string; } declare function InnerRadio(props: InnerRadioProps): react_jsx_runtime.JSX.Element; declare namespace InnerRadio { var defaultElement: string; } /** * A radio group is a set of checkable buttons, known as radio buttons, where no more than one of the buttons can be checked at a time. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/radio-group--default-story) */ declare const Radio: react.ForwardRefExoticComponent, "ref"> & react.RefAttributes>; type RadioProps = ComponentProps; export { InnerRadio, type InnerRadioProps, Radio, type RadioProps };