import { Accessibility, RadioGroupBehaviorProps } from '@fluentui/accessibility'; import { UIComponentProps, ChildrenComponentProps } from '../../utils'; import { RadioGroupItem, RadioGroupItemProps } from './RadioGroupItem'; import { ComponentEventHandler, ShorthandCollection, FluentComponentStaticProps } from '../../types'; import { ComponentWithAs } from '@fluentui/react-bindings'; export interface RadioGroupProps extends UIComponentProps, ChildrenComponentProps { /** Accessibility behavior if overridden by the user. */ accessibility?: Accessibility; /** Value of the currently checked radio item. */ checkedValue?: number | string; /** * Called after radio group value is changed. * @param event - React's original SyntheticEvent. * @param data - All value props. */ onCheckedValueChange?: ComponentEventHandler; /** Initial checkedValue value. */ defaultCheckedValue?: number | string; /** Shorthand array of props for RadioGroup. */ items?: ShorthandCollection; /** A vertical radio group displays elements vertically. */ vertical?: boolean; } export declare const radioGroupClassName = "ui-radiogroup"; export declare type RadioGrouptStylesProps = never; /** * A RadioGroup allows user to select a value from a small set of mutually exclusive options. * * @accessibility * Implements [ARIA Radio Group](https://www.w3.org/TR/wai-aria-practices-1.1/#radiobutton) design pattern. */ export declare const RadioGroup: ComponentWithAs<'div', RadioGroupProps> & FluentComponentStaticProps & { Item: typeof RadioGroupItem; };