import * as React from "react"; import { PropsWithAs } from "reakit-utils/types"; import { RadioHTMLProps } from "../Radio/Radio"; import { RoleOptions } from "../Role"; import { unstable_FormStateReturn } from "./FormState"; import { DeepPath, DeepPathValue } from "./__utils/types"; export declare type unstable_FormRadioOptions> = RoleOptions & Pick, "values" | "update" | "blur"> & { /** * FormRadio's name as in form values. */ name: P; /** * FormRadio's value. */ value: DeepPathValue; }; export declare type unstable_FormRadioHTMLProps = RadioHTMLProps; export declare type unstable_FormRadioProps> = unstable_FormRadioOptions & unstable_FormRadioHTMLProps; export declare const unstable_useFormRadio: >(options: unstable_FormRadioOptions, htmlProps?: import("..").unstable_ComboboxHTMLProps | undefined) => unstable_FormRadioHTMLProps; export declare const unstable_FormRadio: , T extends React.ElementType = "input">(props: PropsWithAs, T>) => JSX.Element;