import React from 'react'; import './index.scss'; interface BaseRadioOption { value: number | string; desc?: string; } export interface TitleRadioOption extends BaseRadioOption { title: string; content?: never; } export interface ContentRadioOption extends BaseRadioOption { content: React.ReactNode; title?: never; } export type RadioOption = TitleRadioOption | ContentRadioOption; export interface RadioCardProps { options: RadioOption[]; value?: number | string; onChange?: (value: number | string) => void; className?: string; style?: React.CSSProperties; } declare const RadioCard: React.FC; export default RadioCard;