
import { FieldBaseProps } from "../../../shared/form.js";
import "../../../shared/index.js";
import { CubeItemProps } from "../../content/Item/Item.js";
import { WithNullableValue } from "../../../utils/react/nullableValue.js";
import { BaseProps, ContainerStyleProps, Styles } from "@tenphi/tasty";
import * as react from "react";
import { AriaRadioGroupProps } from "react-aria";

//#region src/components/fields/RadioGroup/RadioGroup.d.ts
interface CubeRadioGroupProps extends BaseProps, Omit<AriaRadioGroupProps, 'errorMessage'>, ContainerStyleProps, FieldBaseProps {
  groupStyles?: Styles;
  orientation?: 'horizontal' | 'vertical';
  value?: string;
  defaultValue?: string;
  onChange?: (value: string) => void;
  isInvalid?: boolean;
  size?: Omit<CubeItemProps['size'], 'inline'>;
  buttonType?: Exclude<CubeItemProps['type'], 'secondary'>;
  type?: 'radio' | 'button' | 'tabs';
}
/**
 * Radio groups allow users to select a single option from a list of mutually exclusive options.
 * All possible options are exposed up front for users to compare.
 */
declare const _RadioGroup: react.ForwardRefExoticComponent<Omit<WithNullableValue<CubeRadioGroupProps>, "ref"> & react.RefAttributes<unknown>>;
//#endregion
export { CubeRadioGroupProps, _RadioGroup };
//# sourceMappingURL=RadioGroup.d.ts.map