import * as React from "react"; export type RadioButtonSize = "small" | "medium"; export type RadioButtonChangeHandler = (e: React.ChangeEvent, checked: boolean) => void; export type RadioButtonProps = Omit, "size" | "onChange"> & { size?: RadioButtonSize; children?: React.ReactNode; onChange?: RadioButtonChangeHandler; inputRef?: React.Ref; error?: boolean; }; declare const RadioButton: React.ForwardRefExoticComponent, "size" | "onChange"> & { size?: RadioButtonSize; children?: React.ReactNode; onChange?: RadioButtonChangeHandler; inputRef?: React.Ref; error?: boolean; } & React.RefAttributes>; export default RadioButton;