import * as React from 'react'; import type { UseFieldValidationReturnValue } from "../field/root/useFieldValidation.js"; import type { BaseUIChangeEventDetails } from "../utils/createBaseUIEventDetails.js"; import type { BaseUIEventReasons } from "../utils/reasons.js"; export interface RadioGroupContext { disabled: boolean | undefined; readOnly: boolean | undefined; required: boolean | undefined; name: string | undefined; checkedValue: unknown; setCheckedValue: (value: unknown, eventDetails: BaseUIChangeEventDetails) => void; onValueChange: (value: unknown, eventDetails: BaseUIChangeEventDetails) => void; touched: boolean; setTouched: React.Dispatch>; validation?: UseFieldValidationReturnValue; registerControlRef: (element: HTMLElement | null) => void; } export declare const RadioGroupContext: React.Context; export declare function useRadioGroupContext(): RadioGroupContext;