import React from 'react'; import type { Option } from 'react-select'; import type { OmitControlledInputPropsFrom } from './interface'; import type { IFormInputProps } from './interface'; interface IRadioButtonInputProps extends IFormInputProps, OmitControlledInputPropsFrom> { stringOptions?: string[]; options?: IRadioButtonOptions[]; inputClassName?: string; /** When true, will render the radio buttons horizontally */ inline?: boolean; /** * If the value prop does not match any of the options, this value will be used. * This can be used to ensures that a valid option is always selected (for initial state, for example). * This mechanism calls onChange with the defaultValue. * If this is used, the options prop provided should be stable (useMemo) */ defaultValue?: string; } interface IRadioButtonOptions extends Option { help?: React.ReactNode; } export declare const RadioButtonInput: (props: IRadioButtonInputProps) => JSX.Element; export {};