import type { HTMLButtonAttributes } from 'svelte/elements'; import type { Snippet } from 'svelte'; type ButtonVariant = 'primary' | 'cta' | 'ghost' | 'back' | 'del' | 'nav'; interface Props extends HTMLButtonAttributes { /** HTML element or component to render as. @default 'button' */ as?: string; /** Visual style variant. @default 'primary' */ variant?: ButtonVariant; children?: Snippet; /** URL — pass to render as an `` (set `as="a"` too). */ href?: string; [key: string]: unknown; } declare const Button: import("svelte").Component; type Button = ReturnType; export default Button;