import { ReactNode } from 'react'; export type RadioOption = { value: string; label: string; disabled?: boolean; disabledReason?: ReactNode; }; type RadioGroupBaseProps = { name: string; value: string; onChange: (value: string) => void; options: RadioOption[]; disabled?: boolean; direction?: 'vertical' | 'horizontal'; }; type WithLegend = RadioGroupBaseProps & { label: string; 'aria-label'?: never; 'aria-labelledby'?: never; }; type WithAriaLabel = RadioGroupBaseProps & { label?: never; 'aria-label': string; 'aria-labelledby'?: never; }; type WithAriaLabelledBy = RadioGroupBaseProps & { label?: never; 'aria-label'?: never; 'aria-labelledby': string; }; export type RadioGroupProps = WithLegend | WithAriaLabel | WithAriaLabelledBy; declare const RadioGroup: (props: RadioGroupProps) => import("react/jsx-runtime").JSX.Element; export { RadioGroup }; //# sourceMappingURL=RadioGroup.component.d.ts.map