import * as React from 'react'; export declare type RadioGroupProps = { /** * The Radio(s) within the RadioGroup */ children: React.ReactNode; /** Additional CSS class for the container. */ className?: string; /** The default value (uncontrolled). */ defaultValue?: string; /** Whether radio group is disabled. */ disabled?: boolean; /** * Renders the field in an invalid state. Often paired together with `helpText` to provide feedback about the error. * * @deprecated use `invalid` instead. */ error?: boolean; /** Renders the field in an invalid state. Often paired together with `helpText` to provide feedback about the error. */ invalid?: boolean; /** The content to display as the help text. */ helpText?: React.ReactNode; /** The element's unique identifier. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id). */ id?: string; /** The content to display as the label. */ label?: React.ReactNode; /** The name of the RadioGroup, used when submitting an HTML form. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname). */ name?: string; /** Handler that is called when the value changes.*/ onChange?: (value: string) => void; /** Whether user input is required on the input before form submission. */ required?: boolean; /** Additional CSS styles for the container. */ style?: React.CSSProperties; /** The current value (controlled). */ value?: string; } & Omit, 'onChange' | 'defaultValue'>; /** * Radio groups allow users to select a single option from a list of mutually exclusive options. * All possible options are exposed up front for users to compare. */ declare const _RadioGroup: React.ForwardRefExoticComponent<{ /** * The Radio(s) within the RadioGroup */ children: React.ReactNode; /** Additional CSS class for the container. */ className?: string | undefined; /** The default value (uncontrolled). */ defaultValue?: string | undefined; /** Whether radio group is disabled. */ disabled?: boolean | undefined; /** * Renders the field in an invalid state. Often paired together with `helpText` to provide feedback about the error. * * @deprecated use `invalid` instead. */ error?: boolean | undefined; /** Renders the field in an invalid state. Often paired together with `helpText` to provide feedback about the error. */ invalid?: boolean | undefined; /** The content to display as the help text. */ helpText?: React.ReactNode; /** The element's unique identifier. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id). */ id?: string | undefined; /** The content to display as the label. */ label?: React.ReactNode; /** The name of the RadioGroup, used when submitting an HTML form. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname). */ name?: string | undefined; /** Handler that is called when the value changes.*/ onChange?: ((value: string) => void) | undefined; /** Whether user input is required on the input before form submission. */ required?: boolean | undefined; /** Additional CSS styles for the container. */ style?: React.CSSProperties | undefined; /** The current value (controlled). */ value?: string | undefined; } & Omit, HTMLDivElement>, "key" | keyof React.HTMLAttributes>, "defaultValue" | "onChange"> & React.RefAttributes>; export { _RadioGroup as RadioGroup };