import * as React from 'react'; import { Primitive } from '@radix-ui/react-primitive'; import * as RovingFocusGroup from '@radix-ui/react-roving-focus'; type Scope = { [scopeName: string]: React.Context[]; } | undefined; type ScopeHook = (scope: Scope) => { [__scopeProp: string]: Scope; }; interface CreateScope { scopeName: string; (): ScopeHook; } type PrimitiveButtonProps = React.ComponentPropsWithoutRef; interface RadioProps$1 extends PrimitiveButtonProps { checked?: boolean; required?: boolean; onCheck?(): void; } declare const Radio: React.ForwardRefExoticComponent>; type PrimitiveSpanProps = React.ComponentPropsWithoutRef; interface RadioIndicatorProps$1 extends PrimitiveSpanProps { /** * Used to force mounting when more control is needed. Useful when * controlling animation with React animation libraries. */ forceMount?: true; } declare const RadioIndicator: React.ForwardRefExoticComponent>; declare const createRadioGroupScope: CreateScope; type RadioGroupContextValue = { name?: string; required: boolean; disabled: boolean; value?: string; onValueChange(value: string): void; }; type RovingFocusGroupProps = React.ComponentPropsWithoutRef; type PrimitiveDivProps = React.ComponentPropsWithoutRef; interface RadioGroupProps extends PrimitiveDivProps { name?: RadioGroupContextValue['name']; required?: React.ComponentPropsWithoutRef['required']; disabled?: React.ComponentPropsWithoutRef['disabled']; dir?: RovingFocusGroupProps['dir']; orientation?: RovingFocusGroupProps['orientation']; loop?: RovingFocusGroupProps['loop']; defaultValue?: string; value?: RadioGroupContextValue['value']; onValueChange?: RadioGroupContextValue['onValueChange']; } declare const RadioGroup: React.ForwardRefExoticComponent>; type RadioProps = React.ComponentPropsWithoutRef; interface RadioGroupItemProps extends Omit { value: string; } declare const RadioGroupItem: React.ForwardRefExoticComponent>; type RadioIndicatorProps = React.ComponentPropsWithoutRef; interface RadioGroupIndicatorProps extends RadioIndicatorProps { } declare const RadioGroupIndicator: React.ForwardRefExoticComponent>; declare const Root: React.ForwardRefExoticComponent>; declare const Item: React.ForwardRefExoticComponent>; declare const Indicator: React.ForwardRefExoticComponent>; export { Indicator, Item, RadioGroup, RadioGroupIndicator, type RadioGroupIndicatorProps, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, Root, createRadioGroupScope };