import { ChangeEvent, ChangeEventHandler, ComponentProps, ReactNode } from "react"; import { OmitInternalProps } from "../../shared"; import { AbstractInputProps } from "../../input"; declare const DefaultElement = "label"; export 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; /** * The value to associate with when in a group. */ value?: string; } export declare function InnerRadio(props: InnerRadioProps): JSX.Element; export 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://orbit.sharegate.design/?path=/docs/radio-group--default-story) */ export declare const Radio: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes>; export declare type RadioProps = ComponentProps; export {};