import React from 'react'; import type { ChangeEvent, ReactNode } from 'react'; import type { DefaultProps } from '../../types'; export interface RadioGroupProps extends DefaultProps { row?: boolean; title?: ReactNode; name: string; value?: string; disabled?: boolean; spacing?: 'default' | 'equal'; color?: 'primary' | 'secondary'; options?: IOption[]; onChange?: (event: ChangeEvent) => void; } export interface IOption { value: string; label?: ReactNode; disabled?: boolean; } declare const RadioGroup: ({ row, options, className, padding, margin, color, style, title, value, spacing, name, onChange, ...otherProps }: RadioGroupProps) => React.JSX.Element; export default RadioGroup;