import type { ReactElement, HTMLAttributes, Ref } from "react";
import type SlRadioGroupElement from "@shoelace-style/shoelace/dist/components/radio-group/radio-group.js";
import { SlChangeEvent, SlInputEvent, SlInvalidEvent } from "../events";
export type { SlRadioGroupElement };
export type SlRadioGroupChangeEvent = SlChangeEvent;
export type SlRadioGroupInputEvent = SlInputEvent;
export type SlRadioGroupInvalidEvent = SlInvalidEvent;
export interface SlRadioGroupProps extends HTMLAttributes {
ref?: Ref;
/**
* The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot
* instead.
*/
label?: string;
/**
* The radio groups's help text. If you need to display HTML, use the `help-text` slot instead.
*/
helpText?: string;
/**
* The name of the radio group, submitted as a name/value pair with form data.
*/
name?: string;
/**
* The current value of the radio group, submitted as a name/value pair with form data.
*/
value?: string;
/**
* The radio group's size. This size will be applied to all child radios and radio buttons.
*/
size?: "small" | "medium" | "large";
/**
* By default, form controls are associated with the nearest containing `