/** * SvButton - the base button primitive for the SvGrid UI kit. Variants, sizes, * loading + icon slots. Pure `--sg-*` theming. Parity: Smart `smart-button`. */ import type { Snippet } from 'svelte'; type Props = { variant?: 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger'; size?: 'sm' | 'md' | 'lg'; type?: 'button' | 'submit' | 'reset'; disabled?: boolean; loading?: boolean; /** Stretch to the container width. */ block?: boolean; href?: string; ariaLabel?: string; onclick?: (e: MouseEvent) => void; children?: Snippet; /** Leading icon snippet. */ icon?: Snippet; }; declare const SvButton: import("svelte").Component; type SvButton = ReturnType; export default SvButton;