import * as React from "react"; import type { MergeElementProps } from "../typings"; interface RadioGroupBaseProps { /** The content of the group. */ children?: React.ReactNode; /** * Append to the classNames applied to the component so you can override or * extend the styles. */ className?: string; /** * Value of the selected radio button. The DOM API casts this to a string. */ value?: string; /** * The default value. Use when the component is not controlled. */ defaultValue?: string; /** * The layout direction of the group. * @default "column" */ layoutDirection?: "row" | "column"; /** * The Callback fires when a radio button has selected. */ onChange?: (selectedValue: string) => void; } export declare type RadioGroupProps = Omit, "defaultChecked">; declare type Component = { (props: RadioGroupProps): React.ReactElement | null; propTypes?: React.WeakValidationMap | undefined; displayName?: string | undefined; }; declare const RadioGroup: Component; export default RadioGroup;