import type { ForwardedRef } from "react"; import type { ButtonSize } from "../../Actions/Button/types"; import type { FieldState } from "../../Fields/Field"; export interface RadioGroupContextType { id?: string; name: string; value: string; disabled?: boolean; required?: boolean; /** `RadioGroupItem` text position */ textPosition?: "left" | "right"; onChange: (newValue: string) => void; labelId?: string; descriptionId?: string; state?: FieldState; ref?: ForwardedRef; size?: ButtonSize; } export declare const RadioGroupContext: import("react").Context; export declare const useRadioGroupContext: () => RadioGroupContextType;