import { default as React } from 'react'; import * as RadioGroupPrimitive from '@radix-ui/react-radio-group'; export declare const rootClassName = "teddy-radio-group"; export declare const RootContext: React.Context<{ setGroupLabelId: React.Dispatch>; required: boolean | undefined; } | undefined>; export type RootProps = React.ComponentPropsWithoutRef & { /** The value of the radio item that should be checked when initially rendered. Use when you do not need to control the state of the radio items. */ defaultValue?: string; /** When `true`, prevents the user from interacting with radio items. */ disabled?: boolean; /** The name of the group. Submitted with its owning form as part of a name/value pair. */ name?: string; /** When `true`, indicates that the user must check a radio item before the owning form can be submitted. */ required?: boolean; /** The controlled value of the radio item to check. Should be used in conjunction with onValueChange. */ value?: string; /** Event handler called when the value changes. */ onValueChange?: (value: string) => void; /** The orientation of the component. */ orientation?: 'horizontal' | 'vertical'; /** The reading direction of the radio group. If omitted, inherits globally from DirectionProvider or assumes LTR (left-to-right) reading mode. */ dir?: 'ltr' | 'rtl'; /** When true, keyboard navigation will loop from last item to first, and vice versa. * @default true */ loop?: boolean; }; export declare const Root: React.ForwardRefExoticComponent, "ref"> & { /** The value of the radio item that should be checked when initially rendered. Use when you do not need to control the state of the radio items. */ defaultValue?: string; /** When `true`, prevents the user from interacting with radio items. */ disabled?: boolean; /** The name of the group. Submitted with its owning form as part of a name/value pair. */ name?: string; /** When `true`, indicates that the user must check a radio item before the owning form can be submitted. */ required?: boolean; /** The controlled value of the radio item to check. Should be used in conjunction with onValueChange. */ value?: string; /** Event handler called when the value changes. */ onValueChange?: (value: string) => void; /** The orientation of the component. */ orientation?: "horizontal" | "vertical"; /** The reading direction of the radio group. If omitted, inherits globally from DirectionProvider or assumes LTR (left-to-right) reading mode. */ dir?: "ltr" | "rtl"; /** When true, keyboard navigation will loop from last item to first, and vice versa. * @default true */ loop?: boolean; } & React.RefAttributes>;