import React, { ReactNode } from 'react'; import { NormalSizes, SimpleColors } from '../utils/prop-types'; import { RadioGroupVariantsProps } from './radio.styles'; import { CSS } from '../theme/stitches.config'; interface Props { children?: ReactNode; value?: string | number; initialValue?: string | number; disabled?: boolean; color?: SimpleColors; textColor?: SimpleColors; size?: NormalSizes; onChange?: (value: string | number) => void; } declare const defaultProps: { disabled: boolean; size: number | "xs" | "sm" | "md" | "lg" | "xl"; color: "default" | "primary" | "secondary" | "success" | "warning" | "error"; textColor: "default" | "primary" | "secondary" | "success" | "warning" | "error"; }; declare type NativeAttrs = Omit, keyof Props>; export declare type RadioGroupProps = Props & typeof defaultProps & NativeAttrs & RadioGroupVariantsProps & { css?: CSS; }; export declare const RadioGroup: React.ForwardRefExoticComponent & { css?: CSS | undefined; } & React.RefAttributes>; declare const _default: React.ComponentType & Omit & { css?: CSS | undefined; } & React.RefAttributes, "color" | "size" | "textColor" | "disabled">>; export default _default;