import { Factory, RaikouSize } from '../../../core'; import { InputWrapperProps, InputWrapperStylesNames } from '../../Input'; export type RadioGroupStylesNames = InputWrapperStylesNames; export interface RadioGroupProps extends Omit { /** `Radio` components and any other elements */ children: React.ReactNode; /** Controlled component value */ value?: string | null; /** Default value for uncontrolled component */ defaultValue?: string | null; /** Called when value changes */ onChange?: (value: string) => void; /** Props passed down to the `Input.Wrapper` */ wrapperProps?: Record; /** Controls size of the `Input.Wrapper`, `'sm'` by default */ size?: RaikouSize; /** `name` attribute of child radio inputs. By default, `name` is generated randomly. */ name?: string; /** If set, value cannot be changed */ readOnly?: boolean; } export type RadioGroupFactory = Factory<{ props: RadioGroupProps; ref: HTMLDivElement; stylesNames: RadioGroupStylesNames; }>; export declare const RadioGroup: import("../../../core").RaikouComponent<{ props: RadioGroupProps; ref: HTMLDivElement; stylesNames: RadioGroupStylesNames; }>;