import { default as React } from 'react';
import { RadioProps } from './radio';
export interface RadioGroupProps {
    /** Set field value */
    value?: string | number;
    /** Set default value for uncontrolled radio group */
    defaultValue?: string | number;
    /** The variants of the component are: */
    variant?: RadioProps['variant'];
    /** The size of the component. `"sm"` is equivalent to the dense input styling. */
    size?: RadioProps['size'];
    /** Change radio button color */
    color?: RadioProps['color'];
    /** Available directions of the label are: */
    labelPlacement?: RadioProps['labelPlacement'];
    /** Whether the radio group is disabled */
    disabled?: boolean;
    /** Set field label */
    label?: React.ReactNode;
    /** Show error message using this prop */
    error?: string;
    /** Add helper text. It could be string or a React component */
    helperText?: React.ReactNode;
    /** Use className prop to apply style for entire component */
    className?: string;
    /** Use containerClassName prop to apply some additional style for radio group container */
    containerClassName?: string;
    /** Use labelClassName prop to apply some addition style for the field label */
    labelClassName?: string;
    /** This prop allows you to customize the error message style */
    errorClassName?: string;
    /** This prop allows you to customize the helper message style */
    helperClassName?: string;
    /** Layout direction for radio options */
    direction?: 'vertical' | 'horizontal';
    /** Gap between radio options */
    gap?: 'sm' | 'md' | 'lg' | 'xl';
    /** Radio options */
    options?: Array<{
        name?: string;
        label: React.ReactNode;
        value: string | number;
        disabled?: boolean;
        [key: string]: unknown;
    }>;
    /** Children radio components */
    children?: React.ReactNode;
    /** onChange callback function */
    onChange?: (value: string | number) => void;
}
/**
 * A group of radio components that allows users to select one option from a set.
 * RadioGroup can be used with either the options prop or with Radio components as children.
 */
export declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
export default RadioGroup;
