
//#region src/components/client/Radio/useRadioGroup.d.ts
declare const useRadioGroupName: (name?: string) => string;
/**
 * A hook that connects a single Radio to its RadioGroupStore. If the Radio is used within a RadioGroupProvider,
 * it will use the context store. Otherwise, it will use a shared global store across all un-grouped Radios by name.
 *
 * @param name The name of the Radio which should be shared across the group.
 * @param value The value of the Radio.
 * @param checked Whether the Radio is checked by its controlled prop.
 * @param defaultChecked The uncontrolled default checked state of the Radio.
 * @returns The name of the RadioGroup, whether the Radio is controlled, the checked state of the Radio, and a function to set the RadioGroup value.
 */
declare const useRadioGroup: ({
  name: radioName,
  value: radioValue,
  checked: radioIsChecked,
  defaultChecked: radioDefaultIsChecked
}: {
  name?: string | undefined;
  value: string;
  checked?: boolean;
  defaultChecked?: boolean;
}) => {
  name: string;
  isControlled: boolean;
  checked: boolean | undefined;
  setGroupValue: (value: string) => void;
};
//#endregion
export { useRadioGroup, useRadioGroupName };