declare module "@salesforce/design-system-react/components/radio-button-group" {
  import React from "react";
  type Props = {
    /**
     * **Assistive text for accessibility**
     * * `label`: This label appears in the legend.
     */
    assistiveText?: Partial<{
      label?: string;
    }>;
    /**
     * Children are expected to be Radio components.
     */
    children: React.ReactNode /*.isRequired*/;
    /**
     * Custom CSS classes added to `slds-radio_button-group` node.
     */
    className?: any[] | Record<string, any> | string;
    /**
     * **Text labels for internationalization**
     * This object is merged with the default props object on every render.
     * * `error`: Message to display when any of Checkboxes are in an error state.
     * * `label`: This label appears above the button group.
     */
    labels?: Partial<{
      error?: string;
      label?: string;
    }>;
    /**
     * This event fires when the radio selection changes.
     */
    onChange?: (v: any) => any;
    /**
     * Disable all radio inputs.
     */
    disabled?: boolean;
    /**
     * Adds an indicator that this field is required.
     */
    required?: boolean;
    /**
     * The name of this radio group.
     */
    name?: string;
    /**
     * The ID of the error message, for linking to radio inputs with aria-describedby.
     */
    errorId?: string;
  };

  function Component(props: Props): React.ReactElement;
  export default Component;
}
