import { default as React, HTMLAttributes } from 'react'; import { RadioValue } from './RadioGroupContext'; export type StyledRadioGroupProps = { value?: RadioValue; defaultValue?: RadioValue; onValueChange?: (value: RadioValue) => void; disabled?: boolean; /** Non-interactive but not visually disabled (e.g. a submitted/read-only questionnaire): the * current selection is shown but can't change. */ readOnly?: boolean; dataTest?: string; error?: boolean; errorText?: string; helperText?: string; reserveHelperText?: boolean; children: React.ReactNode; name?: string; } & Omit, 'defaultValue' | 'onChange'>; /** * Native radio group (replaces `@base-ui/react`): a `role="radiogroup"` container that shares * name/selection with its `StyledRadio` children via context, controlled or uncontrolled, plus the * error/helper text row. TASK-201. */ export declare const StyledRadioGroup: React.ForwardRefExoticComponent<{ value?: RadioValue; defaultValue?: RadioValue; onValueChange?: (value: RadioValue) => void; disabled?: boolean; /** Non-interactive but not visually disabled (e.g. a submitted/read-only questionnaire): the * current selection is shown but can't change. */ readOnly?: boolean; dataTest?: string; error?: boolean; errorText?: string; helperText?: string; reserveHelperText?: boolean; children: React.ReactNode; name?: string; } & Omit, "defaultValue" | "onChange"> & React.RefAttributes>;