import React from 'react'; export interface RadioContextType { name: HTMLInputElement['name']; onChange: React.FormEventHandler; } export type RadioGroupOptions = { direction?: 'vertical' | 'horizontal'; }; export type RadioGroupProps = RadioContextType & RadioGroupOptions & { id?: string; ['data-testid']?: string; children: React.ReactNode; }; export interface RadioItemProps extends Omit, 'type'> { label?: React.ReactNode; id: string; ['aria-label']: string; }