/** * Defines the props for the NvRadioGroup component. * @param {boolean} [column] - If true, the radio buttons will be placed vertically, otherwise horizontally. * @param {string} [label] - The label text over the radio group. * @param {string} [description] - The text between the label and the radio group. * @param {string} [error] - The error text under the radio group, if true the label is red. * @param {string} [value] - Value of the selected radio button. * @param {React.ReactElement | React.ReactElement[]} children - NvRadio components. * @param {(value: string) => void} [onChange] - Callback fired when a radio button is selected. */ export interface NvRadioGroupProps { /** If true, the radio buttons will be placed vertically, otherwise horizontally. */ column?: boolean; /** The label text over the radio group. */ label?: string; /** The text between the label and the radio group. */ description?: string; /** The error text under the radio group, if true the label is red. */ error?: string; /** Value of the selected radio button. */ value?: string; /** The additional CSS class for the wrapper element. */ className?: string; /** NvRadio components. */ children: React.ReactElement | React.ReactElement[]; /** Callback fired when a radio button is selected. */ onChange?: (value: string) => void; } /** * Functional component for rendering a radio group with options. * * @param {Object} NvRadioGroupProps - Props object for NvRadioGroup component. * @param {boolean} [column=true] - Determines if the radio options are displayed in a column layout. * @param {string} label - The label for the radio group. * @param {string} description - Additional description for the radio group. * @param {string} error - Error message to display for the radio group. * @param {string} value - The currently selected value. * @param {string} className - The additional CSS class for the wrapper element. * @param {ReactNode} children - Radio options as child components. * @param {Function} onChange - Function to handle value change. * @returns {JSX.Element} Rendered NvRadioGroup component. */ declare const NvRadioGroup: ({ column, label, description, error, value, children, className, onChange, }: NvRadioGroupProps) => import("react/jsx-runtime").JSX.Element; export default NvRadioGroup;