import { Primitive } from "@loke/ui/primitive"; import * as RovingFocusGroup from "@loke/ui/roving-focus"; import { type ComponentPropsWithoutRef } from "react"; import { Radio, RadioIndicator } from "./radio"; declare const createRadioGroupScope: import("@loke/ui/context").CreateScope; type RadioGroupContextValue = { name?: string; required: boolean; disabled: boolean; value: string | null; onValueChange(value: string): void; }; type RovingFocusGroupProps = ComponentPropsWithoutRef; type PrimitiveDivProps = ComponentPropsWithoutRef; interface RadioGroupProps extends PrimitiveDivProps { defaultValue?: string; dir?: RovingFocusGroupProps["dir"]; disabled?: ComponentPropsWithoutRef["disabled"]; loop?: RovingFocusGroupProps["loop"]; name?: RadioGroupContextValue["name"]; onValueChange?: RadioGroupContextValue["onValueChange"]; orientation?: RovingFocusGroupProps["orientation"]; required?: ComponentPropsWithoutRef["required"]; value?: string | null; } declare const RadioGroup: import("react").ForwardRefExoticComponent>; type RadioProps = ComponentPropsWithoutRef; interface RadioGroupItemProps extends Omit { value: string; } declare const RadioGroupItem: import("react").ForwardRefExoticComponent>; type RadioIndicatorProps = ComponentPropsWithoutRef; interface RadioGroupIndicatorProps extends RadioIndicatorProps { } declare const RadioGroupIndicator: import("react").ForwardRefExoticComponent>; declare const Root: import("react").ForwardRefExoticComponent>; declare const Item: import("react").ForwardRefExoticComponent>; declare const Indicator: import("react").ForwardRefExoticComponent>; export { createRadioGroupScope, RadioGroup, RadioGroupItem, RadioGroupIndicator, Root, Item, Indicator, }; export type { RadioGroupProps, RadioGroupItemProps, RadioGroupIndicatorProps };