import { type FormEvent, type HTMLAttributes } from 'react'; import type { BaseComponentProps } from '../../types/base'; export interface KernRadioGroupItem { id?: string; value?: string; label: string; disabled?: boolean; } export interface KernRadioGroupProps extends BaseComponentProps, 'onChange'> { name: string; legend?: string; selected?: string; items: KernRadioGroupItem[]; errorMessage?: string; hint?: string; optional?: boolean; horizontal?: boolean; onChange?: (newValue: string, event: FormEvent) => void; } /** * KernRadioGroup - A group of radio buttons * * @example * ```tsx * * ``` * * @see https://www.kern-ux.de/komponenten/form-inputs/radios */ declare const KernRadioGroup: ({ name, legend, selected, items, errorMessage, hint, optional, horizontal, onChange, autoFocus, className, ...otherProps }: KernRadioGroupProps) => import("react/jsx-runtime").JSX.Element; export default KernRadioGroup; //# sourceMappingURL=kern-radio-group.d.ts.map