import type { HTMLAttributes } from 'svelte/elements'; interface RadioOption { value: string; label: string; disabled?: boolean; } interface Props extends Omit, 'onchange'> { /** `` text for the fieldset. */ legend: string; /** `name` attribute shared by all radio inputs in the group. */ name: string; /** Array of `{ value, label, disabled? }` options. */ options: RadioOption[]; /** Currently selected value. */ value?: string; /** Disable all radios in the group. @default false */ disabled?: boolean; /** Called with the newly selected value string. */ onchange?: (value: string) => void; [key: string]: unknown; } declare const RadioGroup: import("svelte").Component; type RadioGroup = ReturnType; export default RadioGroup;