import React from "react"; import { TTypographyVariant } from "../../../types"; import { TCheckboxSize } from "../CheckboxBase/helpers"; export interface IProps extends Pick, "style" | "className"> { options: readonly TOption[]; getOptionValue: (option: TOption, index: number, options: readonly TOption[]) => TValue; getOptionLabel: (option: TOption, index: number, options: readonly TOption[]) => React.ReactNode; getHelperText?: (option: TOption, index: number, options: readonly TOption[]) => React.ReactNode; trackName: string; label?: React.ReactNode; value?: TValue; defaultValue?: TValue; onChange?: (value: TValue, option: TOption) => void; /** * @deprecated label size should be based on Radio group defined styling. This is no longer used internally. * * Use `radioSize` to define radio sizing. */ optionLabelSize?: TTypographyVariant; /** * @deprecated helper text size should be based on Radio group defined styling. This is no longer used internally. * * Use `radioSize` to define radio sizing. */ optionHelperTextSize?: TTypographyVariant; radioSize?: TCheckboxSize; } declare const RadioGroup: ({ label, options, getOptionValue, defaultValue, value: propValue, onChange, getOptionLabel, getHelperText, radioSize, ...props }: IProps) => React.JSX.Element; export default RadioGroup;