import type * as React from 'react'; import type { ViewProps } from 'react-native'; import type { IFocusable } from '@fluentui-react-native/interactive-hooks'; import type { IPressableProps } from '@fluentui-react-native/pressable'; import type { ITextProps } from '@fluentui-react-native/text'; import type { FontTokens, IForegroundColorTokens, IBackgroundColorTokens, IBorderTokens } from '@fluentui-react-native/tokens'; import type { IRenderData } from '@uifabricshared/foundation-composable'; import type { IViewProps } from '@fluentui-react-native/adapters'; export declare const radioButtonName = "RadioButton"; export interface IRadioButtonProps extends IPressableProps { /** * The text string for the option */ content: string; /** * A unique key-identifier for each option */ buttonKey: string; /** * Whether or not the radio button is selectable */ disabled?: boolean; /** * An optional string for the Narrator to read for each RadioButton. If not provided, this will be set to the button's content. * @deprecated Use accessibilityLabel instead. */ ariaLabel?: string; /** * Defines the current radio button's position in the radio group for accessibility purposes. It's recommended to set this value * if radio buttons are not direct children of radio group. This value is auto-generated if radio buttons are direct children of * radio group. * @deprecated Use accessibilityPosInSet instead. */ ariaPosInSet?: number; /** * Defines the number of radio buttons in the group for accessibility purposes.It's recommended to set this value if radio * buttons are not direct children of radio group. This value is auto-generated if radio buttons are direct children of * radio group. * @deprecated Use accessibilitySetSize instead. */ ariaSetSize?: number; /** * A RefObject to access the IFocusable interface. Use this to access the public methods and properties of the component. */ componentRef?: React.RefObject; } export interface IRadioButtonTokens extends FontTokens, IForegroundColorTokens, IBackgroundColorTokens, IBorderTokens { textBorderColor?: string; } export interface IRadioButtonSlotProps { root: React.PropsWithRef; button: ViewProps; innerCircle: ViewProps; content: ITextProps; } export type IRadioButtonRenderData = IRenderData; export interface IRadioButtonType { props: IRadioButtonProps; tokens: IRadioButtonTokens; slotProps: IRadioButtonSlotProps; } //# sourceMappingURL=RadioButton.types.d.ts.map