import type { ThemeBaseSize } from "../theme.types"; export interface RadioProps extends Omit, "size"> { color?: "primary" | "secondary" | "accent" | "info" | "success" | "warning" | "error"; size?: ThemeBaseSize; label?: string; helperText?: string; slots?: { inputWrapper?: string; input?: string; label?: string; helperText?: string; }; } /** * ref属性会转发至内部的input元素 * 如果Radio在RadioGroup内,则自身的name,checked,size和color属性值会被忽略, 优先使用RadioGroup上下文提供的值 * 自身的onChange事件会保留并优先触发, 以便用户应对特殊情况的特殊处理 */ export declare function Radio(props: RadioProps): import("react").JSX.Element;