import type { ElementType } from "react"; import type { CompositeOptions } from "../composite/composite.tsx"; import type { Props } from "../utils/types.ts"; import type { RadioStore } from "./radio-store.ts"; declare const TagName = "div"; type TagName = typeof TagName; /** * Returns props to create a `RadioGroup` component. * @see https://ariakit.com/components/radio * @example * ```jsx * const store = useRadioStore(); * const props = useRadioGroup({ store }); * * * * * ``` */ export declare const useRadioGroup: import("../utils/types.ts").Hook<"div", RadioGroupOptions<"div">>; /** * Renders a [`radiogroup`](https://w3c.github.io/aria/#radiogroup) element that * manages a group of [`Radio`](https://ariakit.com/reference/radio) elements. * @see https://ariakit.com/components/radio * @example * ```jsx * * * * * * * ``` */ export declare const RadioGroup: (props: RadioGroupProps) => import("react").ReactElement>; export interface RadioGroupOptions extends CompositeOptions { /** * Object returned by the * [`useRadioStore`](https://ariakit.com/reference/use-radio-store) hook. If * not provided, the closest * [`RadioProvider`](https://ariakit.com/reference/radio-provider) component's * context will be used. */ store?: RadioStore; } export type RadioGroupProps = Props>; export {};