import { FCWithSlotMarker } from "../utils/types/Slots.js";
import { CheckboxOrRadioGroupLabelProps } from "../internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.js";
import { CheckboxOrRadioGroupValidationProps } from "../internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.js";
import { CheckboxOrRadioGroupProps } from "../internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.js";
import React, { ChangeEvent, FC } from "react";

//#region src/RadioGroup/RadioGroup.d.ts
type RadioGroupProps = {
  /**
   * An onChange handler that gets called when the selection changes
   */
  onChange?: (selected: string | null, e?: ChangeEvent<HTMLInputElement>) => void;
  /**
   * The name used to identify this group of radios
   */
  name: string;
} & CheckboxOrRadioGroupProps;
declare const _default: FC<React.PropsWithChildren<RadioGroupProps>> & {
  Caption: FCWithSlotMarker<{
    className?: string;
  } & {
    children?: React.ReactNode | undefined;
  }>;
  Label: FCWithSlotMarker<React.PropsWithChildren<CheckboxOrRadioGroupLabelProps>>;
  Validation: FCWithSlotMarker<React.PropsWithChildren<CheckboxOrRadioGroupValidationProps>>;
};
//#endregion
export { RadioGroupProps, _default as default };