import type { Snippet } from 'svelte'; export type ButtonGroupOption = { value: string; /** Text label; optional when an `icon` is supplied. */ label?: string; /** Icon snippet rendered before the label (or alone, for icon-only tabs). */ icon?: Snippet; /** Accessible name — required when the option is icon-only. */ ariaLabel?: string; disabled?: boolean; }; type Props = { value: string; options: ButtonGroupOption[]; orientation?: 'horizontal' | 'vertical'; size?: 'sm' | 'default' | 'lg' | 'icon'; /** Make every button share equal width (1/n of the group). */ equalWidth?: boolean; onValueChange?: (value: string) => void; class?: string; }; declare const ButtonGroup: import("svelte").Component; type ButtonGroup = ReturnType; export default ButtonGroup;