import type { ControlGroupOption, ControlGroupProps } from "../../../components/types.js"; import type { RadioGroupContextProps } from "./types.js"; interface OptionsProps extends Omit, 'options' | 'defaultValue' | 'aria-label' | 'aria-labelledby' | 'onUpdate' | 'value'> { value: ValueType; checked: boolean; content: ControlGroupOption['content']; } export type UseRadioGroupProps = ControlGroupProps; export type UseRadioGroupResult = { containerProps: Pick & { role: string; 'aria-disabled': ControlGroupProps['disabled']; }; optionsProps: OptionsProps[]; contextProps: RadioGroupContextProps; }; export declare function useRadioGroup(props: UseRadioGroupProps): UseRadioGroupResult; export {};