import * as React from "react"; import * as Radix from "@radix-ui/react-primitive"; import { Primitive } from "@radix-ui/react-primitive"; import * as RovingFocusGroup from "@radix-ui/react-roving-focus"; type PrimitiveButtonProps = Radix.ComponentPropsWithoutRef; interface RadioProps extends PrimitiveButtonProps { checked?: boolean; required?: boolean; onCheck?(): void; } declare const Radio: React.ForwardRefExoticComponent>; type PrimitiveSpanProps = Radix.ComponentPropsWithoutRef; interface RadioIndicatorProps 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>; export const createRadioGroupScope: import("@radix-ui/react-context").CreateScope; type RadioGroupContextValue = { name?: string; required: boolean; disabled: boolean; value?: string; onValueChange(value: string): void; }; type RovingFocusGroupProps = Radix.ComponentPropsWithoutRef; type PrimitiveDivProps = Radix.ComponentPropsWithoutRef; export interface RadioGroupProps extends PrimitiveDivProps { name?: RadioGroupContextValue['name']; required?: Radix.ComponentPropsWithoutRef['required']; disabled?: Radix.ComponentPropsWithoutRef['disabled']; dir?: RovingFocusGroupProps['dir']; orientation?: RovingFocusGroupProps['orientation']; loop?: RovingFocusGroupProps['loop']; defaultValue?: string; value?: RadioGroupContextValue['value']; onValueChange?: RadioGroupContextValue['onValueChange']; } export const RadioGroup: React.ForwardRefExoticComponent>; type _RadioProps1 = Radix.ComponentPropsWithoutRef; export interface RadioGroupItemProps extends Omit<_RadioProps1, 'onCheck' | 'name'> { value: string; } export const RadioGroupItem: React.ForwardRefExoticComponent>; type _RadioIndicatorProps1 = Radix.ComponentPropsWithoutRef; export interface RadioGroupIndicatorProps extends _RadioIndicatorProps1 { } export const RadioGroupIndicator: React.ForwardRefExoticComponent>; export const Root: React.ForwardRefExoticComponent>; export const Item: React.ForwardRefExoticComponent>; export const Indicator: React.ForwardRefExoticComponent>; //# sourceMappingURL=index.d.ts.map