import { type ComponentPropsWithoutRef, type ReactNode } from "react";
import { type RadioGroupState } from "react-stately";
export declare const RadioGroupContext: import("react").Context<RadioGroupState>;
export declare function useRadioGroupContext(): RadioGroupState;
export type RadioGroupOrientation = "horizontal" | "vertical";
type DivPropsBase = Omit<ComponentPropsWithoutRef<"div">, "children" | "onChange" | "defaultValue">;
export interface RadioGroupProps extends DivPropsBase {
    value?: string;
    defaultValue?: string;
    onChange?: (value: string) => void;
    label?: ReactNode;
    orientation?: RadioGroupOrientation;
    disabled?: boolean;
    children: ReactNode;
    /** Group name used by member `<input type="radio">` elements during
     *  form submission. */
    name?: string;
    /** Marks the radio group as required for form validation. */
    required?: boolean;
    /** Helper text rendered below the group. Suppressed when `error` is
     *  set (the error message takes the slot). */
    helperText?: ReactNode;
    /** Error message — when present, the group renders the error state
     *  and AT users hear the message via `role="alert"`. */
    error?: ReactNode;
}
export declare const RadioGroup: import("react").ForwardRefExoticComponent<RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>;
export {};
//# sourceMappingURL=RadioGroup.d.ts.map