import { default as React } from 'react'; import { default as RadioButton } from './RadioButton/RadioButton'; export interface VisualRadioButtonCloudProps { /** Items in the cloud. Should be VisualRadioButtonCloud.RadioButton elements. */ children?: React.ReactNode; /** Name shared by all child RadioButton elements (overridable per child). Required for native form grouping. */ name?: string; /** Selected value (controlled). */ value?: string; /** Initial selected value (uncontrolled). */ defaultValue?: string; /** Called when the selected value changes. */ onChange?: (event: React.ChangeEvent, value: string) => void; /** Error message shown above the cloud */ error?: string; /** Error text id (auto-generated if omitted) */ errorTextId?: string; /** Renders the error component (Default: true) */ renderError?: boolean; /** Ref passed to the error message element */ errorMessageRef?: React.Ref; /** Adds custom classes to the root element. */ className?: string; /** Adds custom classes to the errorWrapper */ errorWrapperClassName?: string; /** Sets the data-testid attribute. */ testId?: string; /** Sets the data-testid attribute for the error wrapper */ errorWrapperTestId?: string; /** Accessible label for the radiogroup. Use this or `aria-labelledby` when no external `` labels the group. */ 'aria-label'?: string; /** Id of element labelling the radiogroup (e.g. an external Title/legend). */ 'aria-labelledby'?: string; } interface VisualRadioButtonCloudComponent extends React.FC { RadioButton: typeof RadioButton; } export declare const VisualRadioButtonCloud: VisualRadioButtonCloudComponent; export default VisualRadioButtonCloud;