import React from "react"; import { RadioGroup as PrimitiveRadioGroup, RadioGroupItem as PrimitiveRadioGroupItem } from "src/primitives/RadioGroup"; import { FieldLabel } from "src/primitives/Field"; export interface RadioGroupProps extends Omit, "children"> { /** Group label displayed above the radio items. */ label?: string; /** Error message displayed below the group. */ error?: string; /** Helper text displayed below the group label. Accepts string or ReactNode. */ helpText?: React.ReactNode; /** Layout orientation. Defaults to "horizontal". */ orientation?: "horizontal" | "vertical"; /** Additional class name for the outermost wrapper. */ className?: string; /** RadioGroup.Item children. */ children?: React.ReactNode; /** Props forwarded to the group Label element. */ labelProps?: React.ComponentProps; } export interface RadioGroupItemProps extends React.ComponentProps { /** Label displayed next to the radio. */ label?: string; /** Helper text displayed below the item label. Accepts string or ReactNode. */ helpText?: React.ReactNode; /** Radio value (required). */ value: string; /** Additional class name for the item wrapper. */ className?: string; /** Optional id override; auto-generated if omitted. */ id?: string; } declare const RadioGroup: React.ForwardRefExoticComponent & React.RefAttributes> & { Item: React.ForwardRefExoticComponent & React.RefAttributes>; }; export { RadioGroup };