import { BoxProps, DataAttributes, ElementProps, Factory, MantineColor, MantineRadius, MantineSize, StylesApiProps } from '../../core';
import { InlineInputStylesNames } from '../../utils/InlineInput';
import { RadioCard, type RadioCardProps, type RadioCardStylesNames, type RadioCardFactory, type RadioCardCssVariables, type RadioCardContextValue } from './RadioCard/RadioCard';
import { RadioGroup, type RadioGroupProps, type RadioGroupStylesNames, type RadioGroupFactory, type RadioGroupContextValue } from './RadioGroup/RadioGroup';
import { RadioIconProps } from './RadioIcon';
import { RadioIndicator, type RadioIndicatorProps, type RadioIndicatorStylesNames, type RadioIndicatorFactory, type RadioIndicatorCssVariables, type RadioIndicatorVariant } from './RadioIndicator/RadioIndicator';
export type RadioVariant = 'filled' | 'outline';
export type RadioStylesNames = InlineInputStylesNames | 'inner' | 'radio' | 'icon';
export type RadioCssVariables = {
    root: '--radio-size' | '--radio-radius' | '--radio-color' | '--radio-icon-color' | '--radio-icon-size';
};
export interface RadioProps extends BoxProps, StylesApiProps<RadioFactory>, ElementProps<'input', 'size' | 'children'> {
    /** Content of the `label` associated with the radio */
    label?: React.ReactNode;
    /** Key of theme.colors or any valid CSS color to set radio background color in checked state @default theme.primaryColor */
    color?: MantineColor;
    /** Controls size of the component @default 'sm' */
    size?: MantineSize | (string & {});
    /** A component that replaces the default radio icon (centered dot) */
    icon?: React.FC<RadioIconProps>;
    /** Props passed down to the root element */
    wrapperProps?: React.ComponentProps<'div'> & DataAttributes;
    /** Position of the label relative to the input @default 'right' */
    labelPosition?: 'left' | 'right';
    /** Description displayed below the label */
    description?: React.ReactNode;
    /** Error displayed below the label */
    error?: React.ReactNode;
    /** Key of `theme.radius` or any valid CSS value to set `border-radius` @default 'xl' */
    radius?: MantineRadius;
    /** Assigns ref of the root element */
    rootRef?: React.Ref<HTMLDivElement>;
    /** Key of theme.colors or any valid CSS color to set icon color. When not set, icon color is determined automatically based on theme.autoContrast setting */
    iconColor?: MantineColor;
    /** If set, adjusts text color based on background color for `filled` variant */
    autoContrast?: boolean;
    /** If set, applies error styles to the radio when `error` prop is set @default true */
    withErrorStyles?: boolean;
}
export type RadioFactory = Factory<{
    props: RadioProps;
    ref: HTMLInputElement;
    stylesNames: RadioStylesNames;
    vars: RadioCssVariables;
    variant: RadioVariant;
    staticComponents: {
        Group: typeof RadioGroup;
        Card: typeof RadioCard;
        Indicator: typeof RadioIndicator;
    };
}>;
export declare const Radio: import("../..").MantineComponent<{
    props: RadioProps;
    ref: HTMLInputElement;
    stylesNames: RadioStylesNames;
    vars: RadioCssVariables;
    variant: RadioVariant;
    staticComponents: {
        Group: typeof RadioGroup;
        Card: typeof RadioCard;
        Indicator: typeof RadioIndicator;
    };
}>;
export declare namespace Radio {
    type Props = RadioProps;
    type StylesNames = RadioStylesNames;
    type Factory = RadioFactory;
    type Variant = RadioVariant;
    namespace Group {
        type Props = RadioGroupProps;
        type StylesNames = RadioGroupStylesNames;
        type Factory = RadioGroupFactory;
        type ContextValue = RadioGroupContextValue;
    }
    namespace Card {
        type Props = RadioCardProps;
        type StylesNames = RadioCardStylesNames;
        type Factory = RadioCardFactory;
        type CssVariables = RadioCardCssVariables;
        type ContextValue = RadioCardContextValue;
    }
    namespace Indicator {
        type Props = RadioIndicatorProps;
        type StylesNames = RadioIndicatorStylesNames;
        type Factory = RadioIndicatorFactory;
        type CssVariables = RadioIndicatorCssVariables;
        type Variant = RadioIndicatorVariant;
    }
}
