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